Tailwind3 css watch command
npx tailwindcss -i ./src/index.css -o ./output.css --watch
And in
index.html:
npx tailwindcss -i ./src/index.css -o ./output.css --watch
And in index.html:
<link href="./output.css" rel="stylesheet">
This creates output.css in the root directory (where index.html is).
No comments