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. thinkPHP5中獲取數據庫數據后默認選中下拉框的值,傳遞到后臺消失不見。有圖有代碼,希望有人幫忙2. python小白 關于類里面的方法獲取變量失敗的問題3. Python2中code.co_kwonlyargcount的等效寫法4. python小白,關于函數問題5. 求救一下,用新版的phpstudy,數據庫過段時間會消失是什么情況?6. javascript - 如何用最快的速度C#或Python開發一個桌面應用程序來訪問我的網站?7. mysql數據庫做關聯一般用id還是用戶名8. linux運維 - python遠程控制windows如何實現9. python - 如何對列表中的列表進行頻率統計?10. django - Python error: [Errno 99] Cannot assign requested address
