【问题标题】:angular cli - adding cdn scripts/styles as global priorityangular cli - 添加 cdn 脚本/样式作为全局优先级
【发布时间】:2017-04-01 00:20:50
【问题描述】:

我已经在 index.html 的头部添加了新版本的 angular-cli、一些样式和脚本,但 webpack 似乎没有加载这些文件。这可能是问题,因为这些文件是从 cdn 加载的。 有没有办法从cdn添加全局脚本/样式为

 apps[0].scripts // styles section in angular-cli.json 
 apps[0].styles //script section in angular-cli.json 

【问题讨论】:

标签: angular webpack angular-cli


【解决方案1】:

您必须直接在 angular-cli.json 中添加脚本和样式

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-03-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多