Ruby on Rails
Saturday, November 23, 2019
On Saturday, November 23, 2019 at 7:10:41 PM UTC-5, Ariel Juodziukynas wrote:
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
So then why did we used to name the files .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/f61d78fd-7e28-42a3-91e5-2a07754ef5fa%40googlegroups.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment