Closed as duplicate of#524
Description
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:
- 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 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:
rails: 8.0.2
ruby: 3.3.0
tailwindcss-rails: 4.2.1
tailwindcss-ruby: 4.0.17
Thanks.
local
Metadata
Metadata
Assignees
Labels
No labels