Gemfileにbootstrapを記述。
Gemfile.rb
gem 'bootstrap-sass', '3.3.7'
$ bundle installしておく。
レイアウト用のcssを作って@importを使ってbootstrapを読み込む。
app/assets/stylesheets/custom.scss
@import "bootstrap-sprockets";
@import "bootstrap";
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
Gemfileにbootstrapを記述。
gem 'bootstrap-sass', '3.3.7'
$ bundle installしておく。
レイアウト用のcssを作って@importを使ってbootstrapを読み込む。
@import "bootstrap-sprockets";
@import "bootstrap";
Register as a new user and use Qiita more conveniently
Go to list of users who liked