简体   繁体   English

使用罗盘gem将蓝图添加到Rails 3项目

[英]Add Blueprint to a Rails 3 project using compass gem

I have a new Rails 3 project. 我有一个新的Rails 3项目。 I have installed Compass. 我已经安装了指南针。 I would like to generate the stylesheets in app/stylesheets using the Blueprint framework. 我想使用Blueprint框架在app / stylesheets中生成样式表。

compass init rails /path/to/myrailsproject --using blueprint/semantic

Accept the defaults when prompted; 出现提示时接受默认值; your Sass files will be put in app/stylesheets and the compiled css will be put in public/stylesheets/compiled . 您的Sass文件将放入app/stylesheets ,而已编译的css将放入public/stylesheets/compiled

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM