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. 如图,java中同样是utf-8存储的字符串,为什么这两种方式输出的字节会不同?2. javascript - ElementUI tree控件怎么通过子节点去找到父节点?3. linux - python ImportError: No module named ’***’4. Android的webView如何实现网页 录音功能?5. python - 一个简单的正则匹配问题6. mongodb可以导出数据到excel吗?7. Python 中如何对单个字典中同一个 key 的值进行合并?8. python 中文乱码问题9. 使用Python如何抓取APP中的数据?10. python - win7 64位,安装urllib老是报错?

网公网安备