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. chrome - linux系统下如何通过java获取客户端ip和mac地址?2. javascript - sublime已经安装了babel插件和sublimelinter-jshint为什么还是显示es6语法错误?3. 前端 - flex布局采用space-around这种方法,但是最后一行如何让他左对齐?4. css - 手机app中rem的基准值计算错误5. android - Manifest.xml自己生成的GMS服务怎么删掉呢?6. node.js - node的npm无法安装7. java - git项目迁移到SVN怎么实现的?哪位大神指点指点8. 关于thinkphp 5.1中,ajax提交数据url的格式写法,加花括号就出错,请老师指点9. 这节课上传文件报错10. mysqli_close是基本每个文件都要添加吗?

网公网安备