Getting started with Ext JS 6.
Prerequisite steps:
sencha
command set in
environment path variables.System is ready to create Extjs 6 application.
Create sample application (World) with Extjs 6 standard folder structure
There are three type of Application:
Universal (Runs on Mobile webSencha touch
and Desktop webSencha Extjs
)
Classic (Runs on Desktop webSencha Extjs
)
Modern (Runs on Mobile webSencha touch
)
Open CMD and run bellow command to generate World
application:
Universal Application:
sencha -sdk D:\ext-6.2.1 generate app World D:\World
classic Application:
sencha -sdk D:\ext-6.2.1 generate app --classic World D:\World
Modern Application:
sencha -sdk D:\ext-6.2.1 generate app --modern World D:\World
This respective command will generate application's folder structure in respective location.
Go to cd D:/World
and run command:
sencha app watch
Application will be loaded on:
World
Application can be access from browser.
*Application's path can be vary as per requirements.