Twitter bootstrap Express.js中的Bootrstrap包含更少:在public/lib/中包含bootstrap文件夹?

Twitter bootstrap Express.js中的Bootrstrap包含更少:在public/lib/中包含bootstrap文件夹?,twitter-bootstrap,express,less,pug,Twitter Bootstrap,Express,Less,Pug,我完全是一个Express.js的初学者,我正在尝试使用Express、js、Jade和Less构建一个简单的网站。我创建文件夹项目的方式是: $ mkdir myProj $ cd myProj $ express --sessions --css less 最近我听说了bootstrap,我想把它包括在我的项目中。我尝试查找有关如何添加和包含引导的在线教程,我尝试的方法是: --> download bootstrap from the official page --&g

我完全是一个Express.js的初学者,我正在尝试使用Express、js、Jade和Less构建一个简单的网站。我创建文件夹项目的方式是:

 $ mkdir myProj
 $ cd myProj
 $ express --sessions --css less
最近我听说了bootstrap,我想把它包括在我的项目中。我尝试查找有关如何添加和包含引导的在线教程,我尝试的方法是:

 --> download bootstrap from the official page
 --> add the downloaded folder in public/lib/bootstrap
 --> include the css files in the layout.jade as follows: link(rel='stylesheet', href='/lib/bootstrap/css/bootstrap.css')
据我所知,它正在工作。但我不确定这是否是在Express.js中包含bootstrap的正确方法。在Express.js中是否还有其他方法可以包含引导功能?我的方法正确吗?

这个怎么样

$ npm install -g twitter-bootstrap-node

# Create the project: (Default css engine is "less",And template engine is "jade")

$ twitter-bootstrap project
$ cd project
$ node app.js

如果您想要无引导文件,请从此处下载->