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. python - 如何在docker上部署pyspider2. python2.7为什么点击了"开始"按钮后,tkinter上的按钮,图中红色部分,再也点不动了?3. 现在大家是用Mysql还是mariaDb?4. mysql - Access denied for user ’ODBC’@’localhost’ (using password: NO)5. 关于python的继承的一个疑问6. python - 关于计算日期的问题7. javascript - 微信小程序 如何实现这种左滑动出现删除的办法?有相关api吗?8. python3.x - 如何将python3.4的程序转为python2.79. 百度地图api - Android百度地图SDK,MapView上层按钮可见却不可触,怎么解决?10. mysql - msql什么叫并发

网公网安备