1、生成项目:

sencha generate app -s templates/admin-dashboard/ Dashboard ../my-folder

2、修改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
        }
    },
 
3、引入中文语言包:(修改app.json)
"requires": [
          "ext-locale"
    ],
 "locale":"zh_CN",
 
界面效果
使用extjs6官方模板admin-dashboard
 

相关文章:

  • 2021-12-31
  • 2021-06-21
  • 2022-12-23
  • 2021-09-21
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
猜你喜欢
  • 2021-11-12
  • 2021-08-08
  • 2022-12-23
  • 2021-09-12
  • 2021-08-29
  • 2021-12-19
相关资源
相似解决方案