Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Vite as prereq. Or, support Webpack? #1

Open
monarchwadia opened this issue Jul 11, 2023 · 2 comments
Open

Add Vite as prereq. Or, support Webpack? #1

monarchwadia opened this issue Jul 11, 2023 · 2 comments

Comments

@monarchwadia
Copy link

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?

@david-plugge
Copy link
Owner

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"
  }
}

@david-plugge
Copy link
Owner

@monarchwadia is my suggestion working for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants