小编典典

如何在webapp或yo angular上更新和包括Twitter Bootstrap 3?

angularjs

我使用了webapp或Angular创建了一个新项目,并且我收到的Bootstrap
include版本是2.3.2,但是我想使用最新版本的Bootstrap。

我如何使用命令提示符更新Bootstrap软件包,然后在创建新的Webapp或更新角度时更新,选择包括Twitter Bootstrap是最新版本?


阅读 257

收藏
2020-07-04

共1个答案

小编典典

Yeoman的webapp和angular生成器使用Bootstrap的Sass,它基于Twitter Bootstrap的2.3.2构建。

运行yo webapp或后yo angular,可以通过运行以下命令来添加Bootstrap 3.0。

$ bower install --save bootstrap

这将为您下载Bootstrap 3.0。

2020-07-04