标签:strong 新建 ash locale index amp tput toolbar root
打开cmd 输入如下语句
sencha -sdk D:\ext-6.2.0 generate app -s D:\ext-6.2.0\templates\admin-dashboard App D:\wwwroot\myadmindashboard
D:\ext-6.2.0 SDK路径。
D:\ext-6.2.0\templates\admin-dashboard SDK内admin-dashboard模板的路径。
D:\wwwroot\myadmindashboard 要生成的项目的项目存放路径
2. 如下修改。
a) 修改app.json的output路径
"output": { /*"base": "${ext.dir}/build/examples/admin-dashboard/${build.id}",*/ "base": "${workspace.build.dir}/${build.environment}/${app.name}/${build.id}",
"page": "../index.html", "manifest": "../${build.id}.json", "appCache": { "enable": false
} },
b) 引入中文的处理
"requires": [ "charts", "font-awesome", "ux", "ext-locale"
], "locale":"zh_CN",
3、 cmd 进入项目文件夹下 Sencha app build classes
4、 使用命令 sencha app watch
也可以这样:
sencha fs web -port 8000 start -map D:\wwwroot\myadmindashboard
标签:strong 新建 ash locale index amp tput toolbar root
原文地址:https://www.cnblogs.com/xiaoyichong/p/13384748.html