I build a blog template with tailwind css. you can run the project only locally. if you try my code online browser IDE. maybe you face a error and you change some code according to IDE.
https://medium.com/frontendweb/how-to-start-with-a-tailwind-css-locally-b9e210e455b4
- Download code
- Run the
npm install
- To start local develpoment server run
npm run dev
- tailwind
- dev
- start
- build
npm run tailwind
coomand start your project server with tailwindcss. you does not need any postcss configation.
npm run dev
command work with postcss in tailwind css.
npm run start
your local server with live-server.
npm run build
command build your tailwind css file help of postcss and without live-server.