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
I'm trying to run tailwind(4.2.1) in a newly installed rails 8 app and the styles aren't rendering properly. I'm running it via the docker devcontainer that comes preinstalled with rails and it looks like some styles are applied while others aren't.
I have tried the following:
the puma plugin option
using the [always] flag with the css watch command, using foreman.
added tty:true to the docker-compose config.
added config.assets.debug = true to the development.rb file.
I generated the rails app with rails new myapp --skip-test --force --database=postgresql --devcontainer --css tailwind.
Below is a screenshot of a page in the app. When I try the same styles on the tailwind css playground, it renders correctly.
Hello,
I'm trying to run tailwind(4.2.1) in a newly installed rails 8 app and the styles aren't rendering properly. I'm running it via the docker devcontainer that comes preinstalled with rails and it looks like some styles are applied while others aren't.
I have tried the following:
[always]
flag with the css watch command, using foreman.tty:true
to the docker-compose config.config.assets.debug = true
to thedevelopment.rb
file.I generated the rails app with
rails new myapp --skip-test --force --database=postgresql --devcontainer --css tailwind
.Below is a screenshot of a page in the app. When I try the same styles on the tailwind css playground, it renders correctly.
Any suggestions on what could be wrong?
Gem versions:
Thanks.
local
tailwind payground

The text was updated successfully, but these errors were encountered: