Differences
This shows you the differences between two versions of the page.
|
ext-js [14/08/2018 15:33] Anthony Arents [Styling an application] |
ext-js [19/11/2018 12:04] (current) Anthony Arents [ExtJS in java web projects] |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * Download and Install Sencha Cmd 6 | * Download and Install Sencha Cmd 6 | ||
| * Download and unzip the Ext JS 6 SDK (remember the path) | * Download and unzip the Ext JS 6 SDK (remember the path) | ||
| + | |||
| + | ==== Use the latest CMD version ==== | ||
| + | <code>sencha upgrade</code> | ||
| + | ==== Framework commercial version ==== | ||
| + | The framework should be asked for : it needs to be downloaded using the support account by Torsten or Anthony.\\ | ||
| + | Unpack the framework in an easy to use folder like | ||
| + | <code>~/ExtJS/ext-6.0.0/</code> | ||
| + | ===== ExtJS in java web projects ===== | ||
| + | Maven Web Project :\\ | ||
| + | folder structure ''create /src/main/webapp/static if not available''.\\ | ||
| + | \\ | ||
| + | We create the application inside this static folder. | ||
| + | |||
| ===== To start a new Ext JS project ===== | ===== To start a new Ext JS project ===== | ||
| Open your terminal or console window and issue these commands | Open your terminal or console window and issue these commands | ||
| Line 10: | Line 23: | ||
| sencha app watch</code> | sencha app watch</code> | ||
| This will generate a skeleton app, ''sencha app watch'' will check for any changes made to css or js. | This will generate a skeleton app, ''sencha app watch'' will check for any changes made to css or js. | ||
| - | |||
| ===== To take over an existing Ext JS project ===== | ===== To take over an existing Ext JS project ===== | ||
| Open your terminal or console window and issue these commands *inside* the app folder : | Open your terminal or console window and issue these commands *inside* the app folder : | ||