Rails 5中使用Bootstrap

首先在Gemfile文件中添加:css gem 'bootstrap-sass', '3.3.6' 而後執行bundle installweb 接下來,在css文件中加入兩行代碼:bootstrap @import "bootstrap-sprockets"; @import "bootstrap"; 可能出現的問題sass Invalid CSS after "body ": expect
相關文章
相關標籤/搜索