diff --git a/packages/sfc-playground/src/App.vue b/packages/sfc-playground/src/App.vue index 7501b200c..7cbe573f6 100644 --- a/packages/sfc-playground/src/App.vue +++ b/packages/sfc-playground/src/App.vue @@ -54,7 +54,8 @@ const sfcOptions = computed( template: { isProd: productionMode.value, compilerOptions: { - isCustomElement: (tag: string) => tag === 'mjx-container', + isCustomElement: (tag: string) => + tag === 'mjx-container' || tag.startsWith('custom-'), }, }, }),