Results 1 to 3 of 3

Thread: Using custom file structure with sencha create

  1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    101
    Answers
    3
    Vote Rating
    7
      0  

    Default Using custom file structure with sencha create

    I would like to use a slightly modified version of the suggested file structure for Ext Js 4.

    This is the suggested structure:
    - appname
    - app
    - namespace
    - Class1.js
    - Class2.js
    - ...
    - extjs
    - resources
    - app.js
    - index.html


    I would like to use something like this:
    - appname
    - js
    - app.js
    - app
    - namespace
    - Class1.js
    - Class2.js
    - ...
    - extjs
    - resources
    - index.html


    It's not a huge change, but the 'sencha create' command doesn't seem to like the index.html file not being in the same directory as app.js

    Anyone know of a simple way to configure the tools to do this?

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Answers
    3976
    Vote Rating
    1367
      0  

    Default

    Actually, Sencha Cmd generates app.js in the app directory not in the same level as index.html.

    What do you mean by sencha create?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Aug 2008
    Posts
    101
    Answers
    3
    Vote Rating
    7
      0  

    Default

    I guess I'm a little outdated here, I'm actually using the old Sencha SDK Tools detailed here: http://docs.sencha.com/ext-js/4-1/#!...rted-section-3

Posting Permissions

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