(`-. _ .-') .-') _
_(OO )_( \( -O ) ( OO) )
,--(_/ ,. \,------. / '._
\ \ /(__/| /`. '|'--...__)
\ \ / / | / | |'--. .--'
\ ' /, | |_.' | | |
\ /__)| . '.' | |
\ / | |\ \ | |
`-' `--' '--' `--'
This is a simple and minimal Vite + React application generator, which can be used as a starting point for any Vite React app with TailwindCSS.
$ npm install -g vite-react-generator
This generates the Vite React application scaffold with TailwindCSS integration ā”, making it easier to start building with a modern styling framework.
Only installs the essential dependencies š for a React app setup with Vite, keeping it lightweight and fast.
The quickest way to get started with express is to utilize the executable exp
(OR express-draft
) to generate an application as shown below:
Create (and start) the app in current folder:
$ vrt .
$ npm run dev
OR, create (and start) the app (in myApp
folder):
$ vrt myApp
$ cd myApp
$ npm run dev
This will basically create this structure in your folder
.
āāā .env
āāā .gitignore
āāā eslint.config.js
āāā index.html
āāā node_modules
āāā package-lock.json
āāā package.json
āāā postcss.config.js
āāā tailwind.config.js
āāā README.md
āāā vercel.json
āāā vite.config.js
āāā public
ā āāā assets
ā āāā tailwind-css.svg
āāā src
āāā assets
ā āāā vite.svg
āāā index.css
āāā App.jsx
āāā main.jsx
This is how easy it is to get going.
The vrt
command provides several options to initialize a Vite + React app or to display help and version information.
vrt [options]
<app-name> Initialize a new Vite React app in the specified directory.
-h, --help Print the help message listing available command line options.
<directory-name> Specify a directory to initialize the app in.
-v, --version Print the version of the vrt package.
https://buymeacoffee.com/davidpatrickchuks
For contribution guidelines, please visit our GitHub repository.