使用以下命令:
sencha generate view user
我收到以下错误:
[ERR] 生成视图是 ExtJS SDK 特定的命令。
有什么理由为什么这不起作用?
使用以下命令:
sencha generate view user
我收到以下错误:
[ERR] 生成视图是 ExtJS SDK 特定的命令。
有什么理由为什么这不起作用?
当您点击时,sencha generate
您可以看到
Commands
* app - Generates a starter application
* controller - Generates a Controller for the current application
* form - Generates a Form for the current application (Touch Specific)
* model - Generates a Model for the current application
* profile - Generates a Profile for the current application (Touch Specific)
* theme - Generates a theme page for slice operations (ExtJS Specific)
* view - Generates a View for the current application (ExtJS Specific
* workspace - Initializes a multi-app workspace
所以sencha generate view ...
并且sencha generate theme ...
只适用于 ExtJS