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. docker安装后出现Cannot connect to the Docker daemon.2. docker 下面创建的IMAGE 他们的 ID 一样?这个是怎么回事????3. angular.js使用$resource服务把数据存入mongodb的问题。4. docker images显示的镜像过多,狗眼被亮瞎了,怎么办?5. dockerfile - [docker build image失败- npm install]6. 求救一下,用新版的phpstudy,数据库过段时间会消失是什么情况?7. docker-machine添加一个已有的docker主机问题8. 在windows下安装docker Toolbox 启动Docker Quickstart Terminal 失败!9. golang - 用IDE看docker源码时的小问题10. docker start -a dockername 老是卡住,什么情况?

网公网安备