feat(AppGuide): 新增应用指南组件

This commit is contained in:
chengcheng
2025-08-30 14:56:20 +08:00
parent 68d0048393
commit 368c90f327
10 changed files with 101 additions and 7 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export function createInjectClassPlugin(prefix = "remote-ui") {
// 已经有 class -> 合并
return `<${tag}${attrs.replace(
/class\s*=\s*["']([^"']*)["']/,
(_, cls) => `class="${prefix} ${cls}"`,
(_: string, cls: string) => `class="${prefix} ${cls}"`,
)}>`;
} else {
// 没有 class -> 直接加