-
8 Jan 2013 8:07 AM #1
Unanswered: Using custom file structure with sencha create
Unanswered: 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?
-
10 Jan 2013 10:38 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
- Answers
- 3160
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 @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
11 Jan 2013 5:11 AM #3
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


Reply With Quote