New Rails App with --css tailwind and --js esbuild doesn't include Tailwind CSS in generated views #237
Unanswered
troystarwalt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've created a new rails app using the -css and --js flags as noted in the title. I ran the migration and stared Foreman using bin/dev. From there, I generated a scaffold and expected that Tailwind classes would be default as listed in issue #23
I also came across this issue #144 and it seems to me that Tailwind won't be included in generated views unless the gem is included. And if you use the gem, then Sprockets should be used instead of esbuild. Is that correct?
Beta Was this translation helpful? Give feedback.
All reactions