【问题标题】:Why is there no view build in Sencha Touch cmd为什么 Sencha Touch cmd 中没有视图构建
【发布时间】:2013-03-27 13:19:22
【问题描述】:

使用以下命令:

sencha generate view user

我收到以下错误:

[ERR] Generate View 是 ExtJS SDK 特定的命令。

这不起作用有什么原因吗?

【问题讨论】:

    标签: sencha-touch-2 sencha-cmd


    【解决方案1】:

    当您点击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

    【讨论】:

    • 奇怪的是如何为 ExtJS 而不是 ST 提供此功能?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-03-01
    • 1970-01-01
    • 2013-05-13
    相关资源
    最近更新 更多