I generated an ExtJS application stub using Sencha Cmd and now I would like to set it up within a backend server for development. The ExtJS application will be served from within a path such as /static/project/ so I set up my script loading directives accordingly.
Now, when I try to load the application the loader stops on the first file with a 404 error on an address like this:
I want it to look for the sources in this location instead:
It seems that Ext expects its sources to be in a path relative to the page which called it. This is consistent with a Ext.Loader.addClassPathMappings command in bootstrap.js
Sencha Cmd tells me NOT to edit this file, so I'm wondering how I can set the project up in such a way, that Sencha Cmd is able to find all files needed for building the application, while I'm still able to use the development version served from a custom URL.
* This file is generated by Sencha Cmd and should NOT be edited. It is
* provided to support globbing requires, custom xtypes, and other
* metadata-driven class system features
Which file do I edit to achieve this (sencha.cfg, app.json, etc)? What command do I call after editing them?