【问题标题】:Sencha Architect 4.2 Preview Error: 404 - bootstrap.js not foundSencha Architect 4.2 Preview Error: 404 - bootstrap.js not found
【发布时间】:2017-07-07 13:39:29
【问题描述】:

我正在使用 Sencha Architect 和每个演示应用程序进行一些练习,当我单击“预览”按钮时,没有任何内容显示并在日志中给出此错误:

Failed to load resource: the server responded with a status of 404 (Not Found): bootstrap.js

我正在使用 Sencha Architect 的试用版并使用“商业”许可作为框架(在“项目设置”中检查),所有依赖项都可以正常工作(在“首选项”中进行检查)。

为什么会这样或者如何克服这个错误? 非常感谢。

【问题讨论】:

    标签: javascript extjs sencha-architect


    【解决方案1】:

    我已经克服了错误:

    更改了项目设置

    • 常规> 保存时覆盖索引文件:未选中(留空)
    • 框架> 构建工具:已禁用

    然后保存项目并打开 index.html 并将 ext-all.js、theme.js 的脚本标签和 theme.css 的链接标签更改为 cdnjs' 库。

    Sencha CDN 链接不起作用!所以导入了 cdnjs 而不是它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-20
      • 2019-04-16
      • 2020-10-11
      相关资源
      最近更新 更多