大佬教程收集整理的这篇文章主要介绍了gruntjs – 使用Grunt将Bower devdependencies插入HTML中,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
它在HTML中仅反映了“dependencies”部分下bower.json中的依赖项.
如何使它包含“devDependencies”部分下的deps?
wiredep: { options: { cwd: '<%= yeoman.app %>' },dev: { devDependencies: true,src: ['<%= yeoman.app %>/index.html'],ignorePath: /\.\.\// },app: { src: ['<%= yeoman.app %>/index.html'],sass: { src: ['<%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],ignorePath: /(\.\.\/){1,2}bower_components\// } },
现在安装DevDependencies
以上是大佬教程为你收集整理的gruntjs – 使用Grunt将Bower devdependencies插入HTML中全部内容,希望文章能够帮你解决gruntjs – 使用Grunt将Bower devdependencies插入HTML中所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。