I want to know, can we use scss in rails views eg
/views/home/home_stylesheet.css.scss.erb
$gray-medium-light : #eaeaea;
background: $gray-medium-light;
I tried changing the path format
<%= stylesheet_link_tag(about_me_user_path(current_user, format: :scss), media: 'all', class: "home_about_me_css") %>
And also in routes
get 'user_profile_stylesheet/:id' => 'users#user_profile_stylesheet', as: :user_profile_stylesheet, :defaults => { :format => 'scss' }
But rails seems to just convert the format back to css
.
Can we use sass-rails
gem to do this somehow?
Thanks.
EDIT I googled this with nothing coming up.