refactor: 统一模板契约并修复预览版本
This commit is contained in:
1 parent
cd2992c00a
commit
50b87e48de
56 files changed
+7849
-5756
No files matched your search
@@ -6,7 +6,9 @@
|
||||
|
||||
## Decision
|
||||
|
||||
示例预览和导入先读取当前品牌的 `templateKey`,再从 `getTemplateSampleContent` 选择对应注册表内容。个人品牌、餐饮、门窗均提供基础示例包。
|
||||
> 本 ADR 已被 [ADR 0031:模板只维护一套正式契约](0031-single-template-contract.md) 取代。以下内容仅保留历史决策记录,不再作为实现依据。
|
||||
|
||||
历史方案曾让示例预览和导入从 `getTemplateSampleContent` 的全局注册表读取内容;该注册表与 manifest 重复,现已禁止继续作为模板事实来源。
|
||||
|
||||
## Consequences
|
||||
|
||||
|
||||
Reference in new issue
Block a user