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. spring-mvc - spring-session-redis HttpSessionListener失效2. android glide asbitmap 在baseadpter中的问题3. python - flask post提交timestamp不能作为参数,这是为什么?4. node.js - express框架,设置浏览器从缓存中读取静态文件,只有js从缓存中读取了,css还有一些图片为何没有从缓存中读取?5. docker gitlab 如何git clone?6. javascript - 如何获取未来元素的父元素在页面中所有相同元素中是第几个?7. jquery - js向两边展开8. python 计算两个时间相差的分钟数,超过一天时计算不对9. linux - redis连接池应用在一万并发下时连接数只有2?10. 前端 - @media query 使用出现的问题?

网公网安备