Open monarchwadia opened 1 year ago
Vite isn´t needed!
You can use the cli: tailwindcss-extend -w -p **/styles/*.css
This watches all css files inside the styles folder for changes. Combine it with the npm package npm-run-all
to start multiple processes:
{
"scripts": {
"dev": "run-p dev:*", // run all scripts starting with 'dev:' in parallel
"dev:tailwindcss-extend": "tailwindcss-extend -w -p **/styles/*.css",
"dev:react": "whatever you need"
},
"devDependencies": {
"npm-run-all": "latest"
}
}
@monarchwadia is my suggestion working for you?
Thanks for the great work!
For folks who are using create-react-app and webpack, it would be very nice to make it super clear that Vite is a prereq.
Otherwise, maybe support webpack?