Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
目前不支持混合模式x编译和微加载标记(EXTJS 4.1.1,sencha cmd 4.0)_Extjs_Extjs4 - Fatal编程技术网

目前不支持混合模式x编译和微加载标记(EXTJS 4.1.1,sencha cmd 4.0)

目前不支持混合模式x编译和微加载标记(EXTJS 4.1.1,sencha cmd 4.0),extjs,extjs4,Extjs,Extjs4,我目前正在使用extjs4.1.1(GPL)和senchacmd4.0。我正在尝试将我的应用程序构建到生产环境中,如指南中所述。不幸的是,我有一个错误,说“目前不支持混合模式x编译和微加载标记” 对于如何使用extjs 4.1.1构建到生产环境中的任何帮助,我们将不胜感激 谢谢index.html文件中的文件引用中有单引号会导致此问题。更改此项: <!-- <x-compile> --> <!-- <x-bootstrap> -->

我目前正在使用extjs4.1.1(GPL)和senchacmd4.0。我正在尝试将我的应用程序构建到生产环境中,如指南中所述。不幸的是,我有一个错误,说“目前不支持混合模式x编译和微加载标记”

对于如何使用extjs 4.1.1构建到生产环境中的任何帮助,我们将不胜感激


谢谢

index.html文件中的文件引用中有单引号会导致此问题。更改此项:

<!-- <x-compile> -->
    <!-- <x-bootstrap> -->
        <link rel='stylesheet' href='bootstrap.css'>
        <script src='ext/ext-all.js'></script>
        <script src='bootstrap.js'></script>
    <!-- </x-bootstrap> -->
    <script src='app.js'></script>
<!-- </x-compile> -->



这解决了我的问题。

看那篇文章:我确实看了,那不是我要找的…你的app.json文件是什么样子的?我们自己生成了app结构-一个自定义app结构,没有app.json文件,我们直接将extjs引导包含在索引文件中。
<!-- <x-compile> -->
    <!-- <x-bootstrap> -->
        <link rel="stylesheet" href="bootstrap.css">
        <script src="ext/ext-all.js"></script>
        <script src="bootstrap.js"></script>
    <!-- </x-bootstrap> -->
    <script src="app.js"></script>
<!-- </x-compile> -->