I don't know why, but I have a problem with a little Yeoman project with Bower and Gulp.
Little question:
I installed a component with this command.
bower install angular-bootstrap-show-errors -S
That's works great.
But if I look in the gulpfile.js of my project it looks like.
vendor: {
js: [
'./bower_components/angular/angular.js',
'./bower_components/angular-route/angular-route.js',
'./bower_components/mobile-angular-ui/dist/js/mobile-angular-ui.js'
],
fonts: [
'./bower_components/font-awesome/fonts/fontawesome-webfont.*'
]
},
But the installed component is missing.
I've tried to search with google but I can't find any solution.
If I try to add config.vendor.js.push('.bower_components/angular-bootstrap-show-errors/src/showErrors.js');
to config.js
it wouldn't work, too. (After bower install
and gulp build
)
How I can add a installed bower component to gulp?
Thanks in advance for any idea!