twitter-bootstrap-rails gem工作流 [英] twitter-bootstrap-rails gem workflow

查看:182
本文介绍了twitter-bootstrap-rails gem工作流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在我的Rails 3.2.1应用程序中使用twitter-bootstrap-rails gem?什么是工作流程?

How do I use the twitter-bootstrap-rails gem in my Rails 3.2.1 app? What is the workflow?

完成后:

rails g bootstrap:layout [LAYOUT_NAME] [*fixed or fluid] [options]

我只是复制并粘贴生成的代码到我的视图?我对每个视图都这样做吗?如果是这样,

what do I do next? Do I just copy and paste the generated code into my view? Do I do this for every view? If so, how is doing

rails g bootstrap:themed [RESOURCE_NAME] [LAYOUT] [options]

有什么不同?

感谢

推荐答案

有一个RailsCasts教程起点:

There is a RailsCasts tutorial that is a great starting point:

http://railscasts.com/ episodes / 328-twitter-bootstrap-basics

这篇关于twitter-bootstrap-rails gem工作流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆