PDA

View Full Version : Sencha ExtJS 4 what files i really need?



ssamuel68
8 Mar 2012, 12:05 PM
Hi, when i extract the sencha extjs4 i got a lot of folders like example, docs, ....

What files i really need so i can erease the one i dont need.

Thx

mitchellsimoens
8 Mar 2012, 5:10 PM
You need the JS file you wish to use. If you are wanting to dynamically load files then you will need the src folder. You will also need the resources folder.

ssamuel68
9 Mar 2012, 6:38 AM
ext-all.js weight 1mb, but ext.js weight 147k. If i use ext.js instead of ext-all.js my project doesnt work.

What im missing here,.

mitchellsimoens
9 Mar 2012, 6:45 AM
You should use ext-debug.js so that the other classes are loaded. ext-debug.js has Ext.Loader enabled where ext.js doesn't

ssamuel68
10 Mar 2012, 9:29 AM
Thx, it works for me, i also use the ext.js instead, just need to add some "requieres" on some pages. I check the console and find what i was missing.

Thx again.