DEV Community

Discussion on: Rails 6: How to install css-bundling with Tailwind JIT

Collapse
330 profile image
MrHubble

Thanks for the helpful article.

In step 3 you mention:

"Migrate the remaining content (any scss. or .css file) of the javascript/stylesheets folder to into the asset pipeline (app/assets/stylesheets)"

Do you know how we modify our build:css script in package.json to include all files in app/assets/stylesheets not just application.tailwind.css

Collapse
thomasvanholder profile image
thomasvanholder Author • Edited on

@330 , there seem to be an issue when importing relative CSS or SCSS files into application.tailwind.css. Eventually, what I end up doing is adding the handful classes directly into the application.tailwind.css file. Just about an issue on the github repo about this.

Collapse
330 profile image
MrHubble

Thanks for the response and thanks for creating the github issue. I'll key an eye on that one for any updates.