chore(templates): 只保留 template-07,删除其余 9 套模板
汇吉采仅使用 template-07(后端绑定 + .env.development),其余
template-01~06、08~10 为多租户 SaaS 平台时代遗留,全部删除:
- 删除 app/templates/ 下 9 套模板目录及注册表内对应配置
- 删除 public/images/template-{01,03,09,10} 图片目录
- 删除 templates/cloud-website 下 9 张模板预览图
- 三处 template-01 兜底(nuxt.config / useTemplate / default.vue)改为 07
- 清理指向已删模板的注释,README 模板系统章节同步更新
模板动态加载机制保留:新增模板 = 建目录 + 在 app/templates/index.ts 注册
This commit is contained in:
+5
-10
@@ -1,19 +1,14 @@
|
||||
import template01 from './template-01/config'
|
||||
import template02 from './template-02/config'
|
||||
import template03 from './template-03/config'
|
||||
import template04 from './template-04/config'
|
||||
import template05 from './template-05/config'
|
||||
import template06 from './template-06/config'
|
||||
import template07 from './template-07/config'
|
||||
import template08 from './template-08/config'
|
||||
import template09 from './template-09/config'
|
||||
import template10 from './template-10/config'
|
||||
import type { TemplateConfig } from '~/composables/useTemplate'
|
||||
|
||||
/**
|
||||
* 模板注册表
|
||||
* 所有可用模板在此集中注册
|
||||
*
|
||||
* 注:2026-09-29 起仅保留 template-07(汇吉采唯一在用模板),
|
||||
* 其余 template-01~06、08~10 已删除(多租户 SaaS 时代遗留)。
|
||||
* 动态加载机制保留:未来如需新增模板,建目录 + 在此注册即可。
|
||||
*/
|
||||
const templates: TemplateConfig[] = [template01, template02, template03, template04, template05, template06, template07, template08, template09, template10]
|
||||
const templates: TemplateConfig[] = [template07]
|
||||
|
||||
export default templates
|
||||
|
||||
Reference in New Issue
Block a user