React and Tailwind CSS
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
You'll need to install Node.js+ (Recommended Version) (NPM comes along with it) and TailAdmin uses Vite for frontend tooling, to peform installation and building production version, please follow these steps from below:
-
Use terminal and navigate to the project (tailadmin-react) root.
-
Then run :
npm install
-
Then run :
npm run dev
Now, in the browser go to localhost:5173
For Production Build
Run : npm run build
Default build output directory: /dist
This command will generate a dist as build folder in the root of your template that you can upload to your server.