Results 1 to 2 of 2

Thread: cmd 5 / generate view with -n

  1. #1
    Touch Premium Member pkellner's Avatar
    Join Date
    Sep 2008
    Location
    San Jose, California
    Posts
    834

    Default cmd 5 / generate view with -n

    I'm trying to get an alias genereated for my view with the command:

    Code:
    sencha generate view -n fromminusN testzz.test1a
    and in the generated code, I don't see anything that says fromminusN.

    Code:
    Ext.define("SessionOnTablet.view.testzz.test1a",{
        "extend": "Ext.panel.Panel",
        "controller": "testzz-test1a",
        "viewModel": {
            "type": "testzz-test1a"
        },
        "html": "Hello, World!!"
    });

  2. #2
    Sencha Premium User mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    693

    Default

    Hey Peter,

    in CMD 5.0.1.231
    * --name, -n - The name of the View to generate
    its not the alias is the class name of the view.

    best nils

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •