首先在gemfile中添加:
gem "twitter-bootstrap-rails"
终端中 bundle install ,再输入下一条命令
rails generate bootstrap:install static
在页面中就可以显示bootstrap的样式了
首先在gemfile中添加:
gem "twitter-bootstrap-rails"
终端中 bundle install ,再输入下一条命令
rails generate bootstrap:install static
在页面中就可以显示bootstrap的样式了