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-ta...@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.
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 (<fuge...@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 rubyonra...@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.
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 (<fuge...@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 rubyonra...@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.