Stack ExtJS 6 + Spring Boot
Solution 1:
In order to achieve this, you have to modify some Ant property files of your project. Those are used to run the Sencha Cmd build.
Open the file <appDir>/.sencha/defaults.properties
Here you will find something like:
app.out.css.rel=${app.output.resources.path}/${app.out.css.name}
This value is used to generate the path to the css files in the manifest json file. After changing it to something like this, Sencha Cmd still generates the files in the same location but load it from another.
app.out.css.rel=/static/front-office/${app.output.resources.path}/${app.out.css.name}
If you just want to apply this to a specific kind of build like production only, than you have to put this value in the corresponding Ant properties file <appDir>/.sencha/[production|testing|...].properties
Post a Comment for "Stack ExtJS 6 + Spring Boot"