O'Reilly logo

Ext JS 6 By Example by Anand Dayalan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Generating the Ext JS application using Sencha Cmd

Open the terminal (Mac)/command (Windows) and type the following command:

sencha generate app --ext MyApp ./myapp

The preceding command will scaffold an Ext JS application called MyApp and place all the files in the subfolder called myapp.

Note that the preceding command will generate an app containing code for both toolkits: classic and modern. If you need either the classic or modern toolkit alone, then use --modern or --classic, as shown in the following command:

sencha generate app --ext --modern MyApp ./myapp

When you run this command for the first time, it should automatically download Ext JS 6. If it does not download Ext JS automatically, then you can manually download Ext JS 6, extract ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required