docs: 明确模板预览产物结构
This commit is contained in:
1 parent
b1d5c2b4b0
commit
222055595c
1 file changed
+2
@@ -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. 发布前门禁
|
||||
|
||||
Reference in new issue
Block a user