Hi guys I have been using sencha cmd to create an app using "sencha generate app ...". Then I wanted to use charts, so I modified the app.json file and added this:
/**
* The list of required packages (with optional versions; default is "latest").
*
* For example,
*
* "requires": [
* "sencha-charts"
* ]
*/
"requires": [
'sencha-charts'
]
So I can display charts well, except that I dont have the css loaded too. I could add a <link rel="stylesheet"...> pointing to the css file for charts (in my case ext-charts-all.css). But I don't find this solution correct. Any guesses on how to build a sencha app using sencha cmd with charts AND css ?
Thanks a lot !
requiresentry you should have something like:"theme": "ext-theme-crisp", this will make sencha command build the sencha-charts with the apropriate theme for your project. Notice that you should add the"requires" : "sencha-charts"with double quotes and not single quotes like you posted. - Guilherme Lopes