jeudi 16 avril 2015

Renaming builds not working

Hi,



I have tried to change the name of the builds from "modern" / "classic" to "desktop" / "touch" in app.json:




Code:





"builds": {
"classic": {
"toolkit": "classic",
"theme": "theme-neptune"
},

"modern": {
"toolkit": "modern",
"theme": "theme-neptune"
}
},



to




Code:





"builds": {
"desktop": {
"toolkit": "classic",
"theme": "theme-neptune"
},

"touch": {
"toolkit": "modern",
"theme": "theme-neptune"
}
},



The app works but it fails to load the CSS. It tries to load it from "modern" instead of "touch":




Code:



http://localhost:4000/build/production/SomeApp/modern/resources/SomeApp-all.css?_dc=20150416233354 <--------- won't work

http://localhost:4000/build/production/SomeApp/touch/resources/SomeApp-all.css?_dc=20150416233354 <--------- this would work



I have tried to clean the build, execute "sencha app refresh" and "sencha app build" but it keeps trying to use the wrong path for loading the CSS



Congrats for the work on this release. Love the idea of universal apps, it's such a huge step forward.





Renaming builds not working

Aucun commentaire:

Enregistrer un commentaire