This is a Tailwind development environment with hot reloading so you can quick start a Tailwind playgound.
Run the following command to start the dev server: npm run dev
- The frontend environment is setup using Vite.
- I have installed three other dependencies: tailwindcss, postcss and autoprefixer.
- I created a dev script that runs the vite server.
- I generated a default tailwind config file.
- I generated a postcss config file.
- We can now work from an html file that reads directly from the tailwind.css entry file.
- Every time we make changes in the html file, the live server updates.