You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The external library is not that important (I need it because I include some mixins in my _variables.css.sass file) - this can be fixed by a refactor in my code
But the important part is being able to use Rails' asset helpers like image-url because we use cloud asset hosting and can't hard-code the path to the image background in the .sass file.
The text was updated successfully, but these errors were encountered:
I'll need to think about this. It's not immediately obvious to me how I'm going to solve that. Digging around in the Rails code should reveal the answer... eventually.
I can't use rails helpers within .sass files or import external libraries that belong to a gem (e.g. Bourbon)
My .sass file looks like this:
The external library is not that important (I need it because I include some mixins in my
_variables.css.sass
file) - this can be fixed by a refactor in my codeBut the important part is being able to use Rails' asset helpers like
image-url
because we use cloud asset hosting and can't hard-code the path to the image background in the .sass file.The text was updated successfully, but these errors were encountered: