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. php - 一個操作請求多個服務如何保證數據的安全?2. mysql - eclispe無法打開數據庫連接3. javascript - 在 model里定義的 引用表模型時,model為undefined。4. css3 - 沒明白盒子的height隨width的變化這段css是怎樣實現的?5. javascript - 一個關于客戶端和前端通信的疑惑?6. javascript - webpack熱加載配置不生效7. 關于Java引用傳遞的一個困惑?8. java - 根據月份查詢多個表里的內容怎么實現好?9. mysql表中索引重復的問題?10. css3 - 這個右下角折角用css怎么畫出來?
