我目前正在从事一个已经开始使用yeoman的项目。出于某种原因,当我运行grunt-wiredep时,除了font-awesome之外,所有依赖项都被正确地注入(inject)到我的index.html中。这是我的bower.json文件:{"name":"watermelon","version":"0.0.0","dependencies":{"angular":"^1.3.0","angular-animate":"^1.3.0","angular-bootstrap":"~0.13.3","angular-cookies":"^1.3.0","angular-google-ma
我正在尝试使用wiredep来注入(inject)bower依赖项。我对它的工作原理以及为什么它只适用于我的JS文件感到有些困惑。gulp.task('wiredep',function(cb){gulp.src('./index.html').pipe(wiredep()).pipe(gulp.dest('.'));});最后一行gulp.dest('.')做了什么?目的地不会是我的index.html文件。此外,此任务似乎只注入(inject)javascript文件。我的bower.json依赖项中有"bootstrap":"~3.3.6","bourbon":"~4.2.6",
我正在尝试使用wiredep来注入(inject)bower依赖项。我对它的工作原理以及为什么它只适用于我的JS文件感到有些困惑。gulp.task('wiredep',function(cb){gulp.src('./index.html').pipe(wiredep()).pipe(gulp.dest('.'));});最后一行gulp.dest('.')做了什么?目的地不会是我的index.html文件。此外,此任务似乎只注入(inject)javascript文件。我的bower.json依赖项中有"bootstrap":"~3.3.6","bourbon":"~4.2.6",