-
Notifications
You must be signed in to change notification settings - Fork 187
Need to add config.assets.debug = true
to development.rb
file
#251
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
Comments
add config.assets.debug = true
to development.rb
fileconfig.assets.debug = true
to development.rb
file
@DogAndCode Can you explain a bit more about what you're experiencing, so that I can try to reproduce it? The tailwind asset pipeline works fine for me in development regardless of this setting, so I need to understand what's different about your setup. (I'm using a vanilla Rails app after running |
Hi @flavorjones, sure, I'm using on my app:
I was having a problem. If I use the inline css on my This works:
This doesn't (unless I set
|
I have the same issue. if I don't set this flag, styles that I'm specifying aren't appearing in the built tailwind.css file in development. |
Can also confirm that this was the case on my M1 Pro MBP. FWIW, I have the same project set up on a Ubuntu 22.04 laptop, and this did not seem to be affected on that platform. |
@geetfun I am having both of the above issues with a cleanly installed example on linux mint 20 |
I can confirm this is also happening on WSL running on Ubuntu 22.04.2 LTS |
Can someone please set up a gist or repo that reproduces what you're seeing? As I mentioned above, I need help to reproduce and diagnose the issue. |
I have the same issue. It had no errors but only generated some styles not all what I used in my views. Im using rails 7.0.5. And not it is a problem from there or from this gem |
With a new app generated yesterday I am not experiencing this issue |
Closing. If someone is having this issue, then please open a new issue with instructions on how to reproduce it. |
Hi, I have to add
config.assets.debug = true
todevelopment.rb
file because if not all the changes made onapplication.tailwind.css
file dont work, like for example:@layer base { a { @apply text-red-500 underline }
The text was updated successfully, but these errors were encountered: