EXT JS 5.1 Minified Core Frame works in development

In development, I want to use a mini .js Ext JS 5.1 file, as is done on Sencha Fiddle. It looks like you can use Sencha's cdn link, but when I use this in the index file, it fails.

Is there something I need to do in bootstrap.js to use it instead of linking to the Ext Js 5 root folder? I want to use the same link for several applications hosted on a server for a corporate situation.

In addition, Chrome Dev Tools is very slow, loading every file. I want to use one thumbnail file to make this useful again.

+4
source share
1 answer

, cdn, - sencha fiddle. . extjs5 , .

- extjs, sencha cmd.

, extjs5

, , , :

, sencha cmd 5.0.2.
sencha cmd, :

sencha which

​​ sencha cmd,

Niederee , sencha , , sencha build

sencha app upgrade

app.json, ext-all-rtl-debug.js. "js":[] :

"js": [
        {
            "path": "${ext.dir}/build/ext-all-rtl-debug.js"  // new default for generated apps
        },
        {
            "path": "app.js",
            "bundle": true
        }
    ],

, :

        {
            "path": "${ext.dir}/packages/sencha-charts/build/sencha-charts-debug.js"
        },

dev/production app.json:

"development": {
        "loader": {
            "cache": true
        }
    },
    "production": {
        "loader": {
            "cache": "${build.timestamp}"
        }
    }

sencha, .

sencha app refresh
+5

All Articles