In Sencha CMD, how to specify widget files absolute paths in the generated bootstrap.js?

165 views Asked by At

I am new to Sencha Touch and the Sencha world. During sencha app build in development, I want to specity my server absolute url in the generated bootstrap.js so that the Sencha loader loads the widgets using the correct url.

How can I do this?

Any pointer would be appreciated.

1

There are 1 answers

0
OhmzTech On

You want to utilize paths configuration. This can and should be done in your application definition (app.js) by adding an array of paths. Here you can map a specific/custom class namespace to a URL path.

You will also want to add this to "classpath" in app.json.