DEV Community

Discussion on: Rails 6, TailwindCSS, TailwindUI, and Stimulus New App Guide (November 2020)

Collapse
 
edxco profile image
Eduardo Baeza

I followed the steps and for some reason it didn't work, so looking I found the following fix:

Delete

import "components"
from application.js

Run
bin/webpack
Collapse
 
michiels profile image
Michiel Sikkes

Hi Eduardo,

I think I don't have a

import "components"

in my application.js at the time of writing.

Maybe this is something added in a newer version of Rails or related to a different JS framework you are using. could that be it?