From 222055595c11eb58282987a92ad137413613a515 Mon Sep 17 00:00:00 2001 From: que01 Date: Mon, 12 Oct 2026 00:26:18 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=98=8E=E7=A1=AE=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E4=BA=A7=E7=89=A9=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/deployment.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/deployment.md b/docs/deployment.md index f7d5549..bb58fee 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -66,6 +66,8 @@ pnpm --filter @personal-brand/api db:migrate:deploy `apps/admin/dist` 是部署产物,包含 Admin 静态站点和已构建的模板预览应用。生产 API 使用 `pnpm --filter @personal-brand/api start` 启动,由进程管理器负责重启与日志。 +部署产物中的模板预览入口是 `apps/admin/dist/template-preview/index.html`,资源位于同级 `assets`、`css`、`js` 目录,线上必须保留 `/template-preview/` 前缀。 + 首次部署可以执行一次 `pnpm db:seed` 创建管理员与演示品牌。已有生产环境禁止重复执行种子命令;模板示例内容只能由管理员在后台对指定品牌显式导入,不能把示例数据扩展到全局种子。 ### 3. 发布前门禁