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

Can i use this gem just for the generators for auto styling? #144

Closed
AhmedKamal20 opened this issue Feb 17, 2022 · 1 comment
Closed

Can i use this gem just for the generators for auto styling? #144

AhmedKamal20 opened this issue Feb 17, 2022 · 1 comment

Comments

@AhmedKamal20
Copy link

I was watching people using -c tailwind when starting new rails app and get auto styling when generating code
but the thing is, I also create apps using -c tailwind, but didn't get the same behavior, nor did I get this gem in my Gemfile
and I discovered that it was like this because I also add -j esbuild, and in this case, rails use the npm tailwind, not this gem

My question is, can I add this gem and run the install script to get the auto styling for the application.html.erb and the new view I generate without messing up the assets and the tailwind config?

@dixpac
Copy link
Contributor

dixpac commented Feb 17, 2022

Yes. But you will need to use this gem for the tailwind which means that you will need to use sprockets/propshaft for tailwind instead of esbuild

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

3 participants