You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
}
}
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?
The text was updated successfully, but these errors were encountered: