From 0246591841d15fa6b8e2aa9a58e88916a39b7e97 Mon Sep 17 00:00:00 2001 From: woshilaoge <785431601@qq.com> Date: Wed, 8 May 2024 11:25:04 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo-general/src/preview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo-general/src/preview.tsx b/demo-general/src/preview.tsx index 6a877b8..75c776a 100644 --- a/demo-general/src/preview.tsx +++ b/demo-general/src/preview.tsx @@ -57,7 +57,7 @@ const SamplePreview = () => { const assetLoader = new AssetLoader(); await assetLoader.load(libraryAsset); - // injectComponents 的使用一般在开发环境做调试注入使用(详细见文档),一般纯净的预览环境是不依赖此插件 + // injectComponents 的使用一般在开发环境做调试注入使用(详细见文档),一般纯净的预览环境是不依赖此插件(即预览渲染态理论上是不需要依赖任何引擎及其相关的插件等资源,PS: 一些 utils 和 types 忽略) // The use of injectComponents is generally used for debugging and injection in the development environment (see the documentation for details). The generally destroyed preview environment does not rely on this plug-in. // const components = await injectComponents(buildComponents(libraryMap, componentsMap)); const components = buildComponents(libraryMap, componentsMap);