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. 添加错误,求解2. javascript - 百度搜索网站,如何让搜索结果显示一张图片加上一段描述,如图;求教3. 前端 - 微信浏览器 css3圆角问题4. python - scrapy-redis爬虫运行是连接redis数据库连接错误5. mysql - 这种分级一对多,且分级不平衡的模型该怎么设计表?6. 13寸笔记本win10 界面字体有点小7. controller文件夹下,有的类可以访问,有的类不能访问,什么原因?8. 如何判断数据库的库和表是否存在?9. python - 如何让dataframe A 的一列与dataframe B的一列相减 相加结果记到A的c列?10. sqlserver - mysql如何将数据库文件备份出来?

网公网安备