Results 1 to 2 of 2

Thread: sencha touch ???? app/form ?????????

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    8
    Vote Rating
    0
      0  

    Default sencha touch ???? app/form ?????????

    sencha touch 2.4.1 + SenchaCmd 5.1.0.26 ?????????

    sencha generate app ??????????????? app/form ??????
    ??????????????????????????????????
    api doc ?????????????????????????


    ?? app/view/Login.js (Ext.form.Panel) ??????
    app/view/Main.js (Ext.navigation.View) ??
    xtype : 'login' ???? push() ??????????????????????????

    ??? sencha app build ?? production ?????????????????

    ??? app/form ??????????? Login.js ??????????????
    Login.js ? define ? MyApp.view.Login ?? MyApp.form.Login ???
    app.js ? views : ['Login'] ?? forms : ['Login'] ???????


    ????build + refresh ?? production ???????????
    xtype : 'login' ? Main.js ??????????????

    production ?????????build ???????????????
    ????build ? production/MyApp/app.js ?????????
    app/view ? app/form ???????????????????


    ??????? app/form ??????????????????
    build ??????????????SenchaCmd ??????????????

    ?????????????

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    8
    Vote Rating
    0
      0  

    Default

    ????production/MyApp/app.js ??????????????????????

    production/MyApp/app.js ??????? Ext.cmd.derive ???? define ??
    ???????????????????????????? /app.js ???????????
    (Ext.cmd.derive('MyApp.view.Login',???? ? /app.js ??????????

    ????app/form ? Login.js ????????????/app.js ?????
    (Ext.cmd.derive('MyApp.form.Login',???? ????????????????

    ?????????????????????????????????? xtype : 'login' ?
    ?????????????????????????????????????????

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
  •