angular.js - angulae downloaded in node.js cannot be imported
过去多啦不再A梦
过去多啦不再A梦 2017-05-15 17:07:01
0
3
553

I downloaded the angularjs module using node.js. I don’t know how to import it into the html file in webstorm11. Can someone help me? (I tried dragging the file directly into the same folder and importing it using src, but it was unsuccessful)

过去多啦不再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