angular.js - How to use WebStorm External Libraries in HTML file?
问题描述
Forgive me use Enligsh, Because my linux did not have Chinese input.
As the picture show , I add lib in External libaries, but I do not know how to use it,Thanks for your reply!
问题解答
回答1:External Libraries will help you working with WebStorm with full/advance coding assistance at disposal, such as auto completion, documentation lookup, keywords navigation etc. They all be used in JavaScript files, not HTMLs, this is how and where External Libraries works.
If what you need is to refer the correct path to angular.js file, whatever you added to External Libraries doesn’t matter at all. You need to either put angular.js in your project w/ path relative to the HTMLs, or add angular.js or its path as the content root of this project.
See https://www.jetbrains.com/webstorm/help/configuring-folders-within-a-content-root.html to get more depth information about this topic.
相关文章:
1. javascript - iscroll5 的使用2. angular.js - 用angular2-cli打包项目之后,跳转路由刷新会报404的错误3. angular.js - 请教angularjs里html和js通信的问题4. angular.js - angular-ueditor使用中,插入图片,加载完成后不更新angularmodel的问题;5. angular.js - angular2动态显示隐藏组件问题6. angular.js - 我想实现打印angular $scope数据,代码如何实现呢?求教(如下图)7. angular.js - 在用会话存储传递参数时,使用angularjs冲突8. node.js - 怎么在初始化的时候使得一个子组件不加载?9. 老师,按tab键不起作用怎么回事10. 新人做网站求帮助