JarvusInnovations / jarvus-ext-routing

Touch-style controller-based routing for ExtJS with some convenient enhancements to Ext.util.History

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jarvus-ext-routing

Touch-style controller-based routing for ExtJS with some convenient enhancements to Ext.util.History

Supported frameworks

Using packages

This repository has separate branches for each supported Ext JS version. Please use the branch appropriate for the version of the Ext JS framework that you are using.

Step 1) Clone a branch into your packages folder

Open a terminal in your app's or workspace's packages directory and clone the branch for the version you are using:

git clone -b ext-5.1.1.451 https://github.com/JarvusInnovations/jarvus-ext-routing.git

Step 2) Add package to app's requirements

Open the app.json file in your app's directory and add "jarvus-ext-routing" to the array following the existing "requires" attribute:

    "requires": [
        "jarvus-ext-routing"
    ],

Step 3) Refresh bootstrap.js

In order for the package to be automatically loaded by your app, the bootstrap.js file generated by Sencha CMD must be updated after adding a new package to the app's "requires" config. Run this from your app's directory:

sencha app refresh

About

Touch-style controller-based routing for ExtJS with some convenient enhancements to Ext.util.History

License:MIT License