Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ezhov-da/d236f9bf535d67ea76c96d6ad88177af to your computer and use it in GitHub Desktop.
Save ezhov-da/d236f9bf535d67ea76c96d6ad88177af to your computer and use it in GitHub Desktop.
Сборка проекта sencha sdk
https://docs.sencha.com/cmd/guides/extjs/cmd_app.html
Создание приложения:
sencha -sdk %SENCHA_SDK% generate app MyApp E:\\test-app
Сборка проекта:
sencha app build
Запуск проекта на локальном сервере http://localhost:1841/:
sencha app watch
Генерация:
Sencha Cmd vX.Y.Z.nnn
sencha generate
This category contains code generators used to generate applications as well
as add new classes to the application.
Commands
* app - Generates a starter application
* controller - Generates a Controller for the current application
* form - Generates a Form for the current application (Sencha Touch Specific)
* model - Generates a Model for the current application
* package - Generates a starter package
* profile - Generates a Profile for the current application (Sencha Touch Specific)
* theme - Generates a theme page for slice operations (Ext JS Specific)
* view - Generates a View for the current application (Ext JS Specific)
* workspace - Initializes a multi-app workspace
sencha generate model User id:int,name,email
sencha generate view foo.Thing
sencha generate view -base Ext.tab.Panel foo.Thing
sencha generate controller Central
.gitignore:
build
ext
bootstrap.*
classic.json*
modern.json*
*.log
Установка extjs: sencha app install --frameworks=%SENCHA_SDK%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment