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. dockerfile - 为什么docker容器启动不了?2. 为什么我ping不通我的docker容器呢???3. docker - 如何修改运行中容器的配置4. angular.js - angularjs的自定义过滤器如何给文字加颜色?5. 在windows下安装docker Toolbox 启动Docker Quickstart Terminal 失败!6. docker api 开发的端口怎么获取?7. 关docker hub上有些镜像的tag被标记““This image has vulnerabilities””8. javascript - JS变量被清空9. python 计算两个时间相差的分钟数,超过一天时计算不对10. javascript - video标签在微信中无法正常发使用,什么情况
