Results 1 to 5 of 5

Thread: Generate view in Ext JS 6

  1. #1
    Sencha Premium Member EPV's Avatar
    Join Date
    Dec 2010
    Location
    Sweden
    Posts
    361

    Default Generate view in Ext JS 6

    If I generate a view (Sencha Cmd) it ends upp in the universal app folder.

    Is it the recommended way to then copy/move the view to desired folders (classic/modern)?

    Thanks / E

  2. #2
    Sencha - Engineering israelroldan's Avatar
    Join Date
    Nov 2011
    Location
    The Netherlands
    Posts
    395

    Default

    That's correct, just move the generated components to the appropriate toolkit according to your needs.
    Israel Roldán | Senior Software Engineer (Framework tools)

  3. #3
    Sencha Premium Member EPV's Avatar
    Join Date
    Dec 2010
    Location
    Sweden
    Posts
    361

    Default

    Thanks!

  4. #4
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goiânia - GO, Brazil
    Posts
    898

    Default

    Hi. How about add a --toolkit option to this command?

    Sencha Team, Could you evaluate it as a feature request?
    Wemerson Januario @JanuarioCoder
    Novanti Tecnologia, Sencha MVP/ Ext JS Consultant
    ____________________________________________
    Hire me on UpWork:

    GitHub
    https://github.com/wemersonjanuario

    Treinamento e Consultoria Ext JS. QUALIFIQUE-SE JÁ!

  5. #5
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goiânia - GO, Brazil
    Posts
    898

    Default

    After trying some options, I could create a view only for the classic or modern toolkit.

    I just add --classic option

    HTML Code:
    sencha generate view main.MyNewView --classic
    This just worked as a charm.

    Now, my feature request add a documentation in sencha help generate view. I couldn't find it.
    Wemerson Januario @JanuarioCoder
    Novanti Tecnologia, Sencha MVP/ Ext JS Consultant
    ____________________________________________
    Hire me on UpWork:

    GitHub
    https://github.com/wemersonjanuario

    Treinamento e Consultoria Ext JS. QUALIFIQUE-SE JÁ!

Similar Threads

  1. [FIXED] Suggestion for sencha generate view
    By pbienick in forum Sencha Cmd
    Replies: 1
    Last Post: 19 Nov 2014, 12:56 PM
  2. cmd 5 / generate view with -n
    By pkellner in forum Sencha Cmd
    Replies: 1
    Last Post: 15 Aug 2014, 12:54 AM
  3. sencha generate view
    By UltimateCodeWarrior in forum Ext 5: Q&A
    Replies: 2
    Last Post: 20 Jun 2014, 8:20 AM
  4. generate form/view?
    By jep in forum Sencha Cmd
    Replies: 1
    Last Post: 25 Jul 2013, 4:11 AM
  5. Cannot generate view with MVC
    By RyanPays in forum Ext: Q&A
    Replies: 2
    Last Post: 6 Dec 2012, 12:44 AM

Tags for this Thread

Posting Permissions

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