Files
hjc-web/app/templates/index.ts
T
weicw-dshsa b88c9df3b3 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 注册
2026-09-30 07:38:05 +08:00

15 lines
507 B
TypeScript

import template07 from './template-07/config'
import type { TemplateConfig } from '~/composables/useTemplate'
/**
* 模板注册表
* 所有可用模板在此集中注册
*
* 注:2026-09-29 起仅保留 template-07(汇吉采唯一在用模板),
* 其余 template-01~06、08~10 已删除(多租户 SaaS 时代遗留)。
* 动态加载机制保留:未来如需新增模板,建目录 + 在此注册即可。
*/
const templates: TemplateConfig[] = [template07]
export default templates