比如我安装了
npm install angular-qrcode --save
我该如何在html头部引用angular-qrcode,如何是按照正常路径引用,我的项目中就会写成:
<script src="../../node_modules/angular-qrcode/angular-qrcode.js"></script>
这种引用方法,如果运行在真机上,是会报错的
比如我安装了
npm install angular-qrcode --save
我该如何在html头部引用angular-qrcode,如何是按照正常路径引用,我的项目中就会写成:
<script src="../../node_modules/angular-qrcode/angular-qrcode.js"></script>
这种引用方法,如果运行在真机上,是会报错的
需要静态资源 使用bower install 一半在dist文件夹下面