extjs-package-loader 0.1.9
Install from the command line:
Learn more about npm packages
$ npm install @coon-js/extjs-package-loader@0.1.9
Install via package.json:
"@coon-js/extjs-package-loader": "0.1.9"
About this version
This npm-package provides access to Ext.Package in an NPM environment.
It contais the original/forked package loader from sencha with an additional package.json
to make sure it can be identified as a npm-package.
Using npm:
$ npm i --save-dev @coon-js/extjs-package-loader
When you're in the need of this package, you're most likely working in an environment where Ext.Package is not available. If you have access to the Ext.Loader-configuration, you can configure it with the following paths:
Ext.Loader.setPath("Ext.Package", "./node_modules/@coon-js/extjs-package-loader/packages/package-loader/src/Package.js");
Ext.Loader.setPath("Ext.package", "./node_modules/@coon-js/extjs-package-loader/packages/package-loader/src/package");
The following will create a build
-folder inside the root-folder of this package
and place a package-loader.js
and package-loader-debug.js
into it:
$ npm run build
Further information related to dynamic package loading can be found here: https://github.com/sencha/package-loader
Ext JS Dynamic Package Loader
This package is used by Ext JS applications and Sencha Cmd 6.5
- Install Sencha Cmd
- Download Sencha Ext JS. We
recommend extracting Ext JS into a
"sencha-sdks"
folder in your home directory.
Simply add package-loader
to the 'app.json'
file's requires
array:
"requires": [
"package-loader"
]
Then build the application
sencha app build --dev
The package-loader
package will be automatically downloaded from Sencha's CDN.
In most cases you won't need to manually install this package. If you cannot access the Sencha CDN as part of the app build, you can manually download the files to your workspace.
Be sure that the 'packages/package-loader'
path is placed in the correct root of
your application or workspace.
Should you want to build the package yourself, first you will need to setup the workspace which will need a local copy of Ext JS to build:
$ sencha workspace install ~/sencha-sdks
$ cd packages/package-loader
$ sencha package build
Details
- extjs-package-loader
- coon-js
- almost 3 years ago
- MIT
- 5 dependencies
Assets
- extjs-package-loader-0.1.9-npm.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0