Skip to content

Commit be84f33

Browse files
committed
chore(sfc-playground): default isCustomElement for sfc playground
1 parent a07e7bf commit be84f33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/sfc-playground/src/App.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ const sfcOptions = computed(
5454
template: {
5555
isProd: productionMode.value,
5656
compilerOptions: {
57-
isCustomElement: (tag: string) => tag === 'mjx-container',
57+
isCustomElement: (tag: string) =>
58+
tag === 'mjx-container' || tag.startsWith('custom-'),
5859
},
5960
},
6061
}),

0 commit comments

Comments
 (0)