小编rod*_*p82的帖子

Grunt Wiredep没有在Yeoman Angular Tutorial中注入bootstrap css文件

我正在阅读使用Yeoman设置AngularJS应用程序的教程(http://yeoman.io/codelab.html),并且Bootstrap的CSS文件未包含在index.html文件中.因此,当我运行grunt serve时,页面缺少所有Bootstrap样式,这与教程图像中显示的不同.

Bootstrap javascript文件包含在index.html文件中.

这是正常行为还是我想手动包含它?我希望运行Grunt Wiredep <!-- bower:css --><!-- endbower -->在index.html文件中的占位符之间包含bootstrap css 文件?

twitter-bootstrap angularjs gruntjs yeoman bower

14
推荐指数
1
解决办法
6192
查看次数

标签 统计

angularjs ×1

bower ×1

gruntjs ×1

twitter-bootstrap ×1

yeoman ×1