If you are considering using templates which you copied to vendor
directory then things you need to keep in mind:-
- Move all assets like Images, sounds, Fonts but not
js
orcss
tovendor/assets/
likevendor/assets/fonts
- Add this line in
assets.rb
Rails.application.config.assets.precompile << /\.(?:svg|eot|woff|ttf)\z/
- Make sure you are using `rails_12factor` gem in production
- use
image-url
andfont-url
helpers - in
scss
files in@imports
rule you do not use.css
at last of the filename. It automatically calculates.