mirror of https://github.com/vuejs/core.git
chore(sfc-playground): default isCustomElement for sfc playground
This commit is contained in:
parent
a07e7bf553
commit
be84f33ab0
|
@ -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-'),
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue