如果我只有预先存在的 Ext.js 应用程序的 app.js 文件,我如何确定它使用的是现代主题还是经典主题?
你不能,你需要 App.json 文件才能获取所有这些信息,在有问题的应用程序中,查找 Ready2use.json 文件,它是一个使用 Triton 的经典应用程序,摘录:
"id":"0332b510-f907-44a9-97c6-3af68e752bfd",
"toolkit":"classic",
"theme":"theme-triton",
"hash":"b201882bf4eb6467ffa98522c701a54f43b053d2",
"profile":"openmaint",
"resources":{
"path":"openmaint/resources",
"shared":"resources"
}