angular.js - node.js中下载的angulae无法引入
过去多啦不再A梦
过去多啦不再A梦 2017-05-15 17:07:01
0
3
528

本人用node.js下载了angularjs模块,在webstorm11中的html文件中不知道怎么导入,大神求解(试过直接把文件拖到同一文件夹下用src导入,但不成功)

过去多啦不再A梦
过去多啦不再A梦

reply all(3)
给我你的怀抱


Use bower to install the angular package, and the rest is a pure write path. . . I just realized that the picture cannot be enlarged to view = =

大家讲道理

Just import according to the file path, or if you use gulp, you can use gulp-inject

刘奇

The package is downloaded from npm, not nodejs.
It is recommended to use webpack to package js files.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template