I use this repository to run and deploy quickly a website using tailwindcss.
It contains the prettier-plugin-tailwindcss which allows to automatically organize your classes in the same order that Tailwind orders them in your CSS.
-
Install modules
npm install
-
Build
npm run watch
(hot reload)npm run build
-
Host on a server
I use the vscode extension Live Server