问答详情
源自:5-5 剖析Grunt Tasks - grunt serve(二)

请问 运行wiredep时,为何index.html页面的header中的 <!-- bower:css --> <!-- endbower -->之间没有插入内容?

请问 运行wiredep时,为何index.html页面的header中的   <!-- bower:css -->     <!-- endbower -->之间没有插入内容?

提问者:唱唱 2015-06-18 11:54

个回答

  • Mr_DeFore
    2016-05-11 16:46:14

    应该是在overrides的main中添加

    http://img.mukewang.com/5732f14e0001299a10830445.jpg

  • 小猫种鱼2013
    2016-01-16 18:24:04

    找到 bower.json 加上这个 

    "main": [

        "less/bootstrap.less",

        "dist/css/bootstrap.css",

        "dist/js/bootstrap.js"

      ],