09.11.2015, 20:10
|
|
Соединяю Node.js и Ext JS
|
|
Регистрация: 25.06.2009
Сообщений: 1,033
|
|
Цитата:
|
на этапе генерации шаблона приложения можно сказать какой тип вам нужен и всё будет выглядеть традиционно. Например так:
sencha app generate -ext -classic MyApp ./MyApp
|
А где прочитали что это возможно???
Вот читаю справку:
http://docs.sencha.com/cmd/6.x/advan...a_generate_app
Нет тут опции -classic!
Цитата:
|
sencha generate app
This command generates an empty application given a name and target folder.
The application can be extended using other sencha generate commands (e.g., sencha generate model).
Other application actions are provided in the sencha app category (e.g., sencha app build).
Sencha Cmd can also automatically download and extract a framework by specifying the name of the framework as an argument:
sencha generate app -ext MyAppName ./MyAppPath
This will generate an application using the newest version available for the specified framework.
For Ext JS 6, by default, this application will be a Universal Application. To override this and select a particular toolkit, you can use either of these variations:
sencha generate app -ext -classic MyAppName ./MyAppPath
sencha generate app -ext -modern MyAppName ./MyAppPath
Options
--controller-name, -c - The name of the default Controller
--library, -l - the pre-built library to use (core or all). Default: core
--name, -n - The name of the application to generate
--path, -p - The path for the generated application
--refresh, -r - Set to false to skip the “app refresh” of the generated app
--starter, -s - Overrides the default Starter App template directory
--template, -te - The name of the template to use
--theme-name, -th - The name of the default Theme
--view-name, -v - The name of the default View
|
__________________
Хусамов Сухроб, Москва, khusamov@yandex.ru
Мой JS-стек: Sencha ExtJS 6, Node.js, TypeScript.
|