make web app with yeoman
I installed 'angular-loading-bar' with this code
bower install angular-loading-bar
and add path of this js file in app/index.html
<script src="bower_components/angular-loading-bar/build/loading-bar.min.js"></script>
it looks work perfectly.
BUT everytime grunt compile, added path in index.html gone.. i tried both section and
and i checked grunt:dist, it seems like that js file is not included in scripts/vendor.xxxxx.js
尝试使用安装组件
bower install angular-loading-bar --save
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.