Ruby on Rails Saturday, November 23, 2019

sass/scss files shouldn't be linked by your website, these files have to be compiled into standard .css files with sprockets, webpacker or any other sass compiler.

Usually, if you use sass-rails (or sassc-rails on newer rails version) or webpacker, both gems should take care of compiling the assets for you with proper configuration.

El sáb., 23 nov. 2019 a las 20:30, fugee ohu (<fugee279@gmail.com>) escribió:
What's supposed to cause rails to take application to mean application.scss ? The problem I'm having is my stylesheet is named application.scss and rails is looking for application.css If I name it as application.scss in stylesheet_link_tag then it looks for application.css.scss

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/74428116-1c8a-47b3-97e2-ee49a0c05696%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPS3bcAxFW82xM-QCQyXGONWoVGWxVK%3Da97RSfCPc0q%3Dm3aAVA%40mail.gmail.com.

No comments:

Post a Comment