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. node.js - npm一直提示proxy有問題2. android - 分享到微信,如何快速轉換成字節數組3. java - 注解上的屬性可以傳遞嗎?4. javascript - vue2.0中,$refs對象為什么用駝峰的方式獲取不到屬性?5. 解決Android webview設置cookie和cookie丟失的問題6. javascript - 能否讓vue-cli的express修改express重啟服務7. angular.js - Beego 與 AngularJS的模板格式沖突,該怎么解決?8. javascript - nodejs使用mongoose連接數據庫,使用post提交表單在后臺,后臺處理后調用res.redirect()跳轉界面無效?9. node.js - npm install全局安裝出錯,請問如何解決?謝謝!10. python bottle跑起來以后,定時執行的任務為什么每次都重復(多)執行一次?
