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內創建jenkins訪問另一個容器下的服務器問題2. 如何解決Centos下Docker服務啟動無響應,且輸入docker命令無響應?3. 我在centos容器里安裝docker,也就是在容器里安裝容器,報錯了?4. css3 - 學習css構建圖形時,遇到一個很有意思的現象,具體代碼如下5. 極光推送 - Android app消息推送 百度 極光 個推 信鴿哪個好一些?6. javascript - js閉包作用域7. html5 - 百度echart官網下載的地圖json數據亂碼8. html - css 使用字體的時候,格式有什么特殊要求嗎?9. 微信開放平臺 - android 微信支付后點完成按鈕,后回調打開第三方頁面,屏幕閃動,求解決方法10. javascript - echart+百度地圖
