Import bootstrap theme

I want to import the Start Bootstrap theme into the Rails project that I just created. This is a full site theme, so it comes with HTML pages as well as resources (fonts, CSS, JS files).

I assume that the assets fall into the asset pipeline (assets / *), but what should I do with the bootstrap.css files that come with the theme? Since I have bootstrap gem installed, I believe it would be unnecessary for me to put boot files in the asset pipeline.

Also, where will the HTML pages go?

Many thanks!

+4
source share
2 answers

HTML

html Rails, (, index.html.erb).

:

  • javascripts app/assets/javascripts
  • css app/assets/stylesheets
  • app/assets/stylesheets/fonts
  • /

, app/assets/stylesheets/fonts, css. , :  '/../fonts/glyphicons-halflings.eot' :  "/glyphicons-halflings.eot

+6

Source: https://habr.com/ru/post/1526079/


All Articles