【文件属性】:
文件名称:bootstrap-material-design:[INACTIVE]捆绑的引导材料设计作为Rails资产管道的资产
文件大小:297KB
文件格式:ZIP
更新时间:2021-05-02 15:15:16
HTML
靴子的材料设计
bootstrap-material-design提供 Web字体,javascript和样式表,作为与资产管道一起使用的Rails引擎。
您可以查看。
安装
将此行添加到您的应用程序的Gemfile中:
gem 'bootstrap-material-design'
然后执行:
$ bundle
或将其自己安装为:
$ gem install bootstrap-material-design
用法
确保已在Rails应用程序中安装了Bootstrap。
您应该在Bootstrap CSS之后添加主题,并在文档末尾添加javascript,所有内容都将转换为Material Design(纸张)样式。
像这样:
application.js:
//= require bootstrap-material-design
application.css:
【文件预览】:
bootstrap-material-design-master
----lib()
--------bootstrap-material-design.rb(81B)
--------bootstrap-material-design()
----Gemfile(40B)
----bootstrap-material-design.gemspec(749B)
----Rakefile(27B)
----LICENSE(1KB)
----test()
--------dummy_app()
----README.md(2KB)
----.gitignore(200B)
----app()
--------assets()