Skip to content

Commit dde557b

Browse files
committed
fix
1 parent a2dbbc4 commit dde557b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/.vuepress/config.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,22 @@ export default defineUserConfig({
1414
bundler: viteBundler({
1515
viteOptions: {
1616
ssr: {
17-
noExternal: ["vue-select", "vue-multiselect"],
17+
noExternal: ['vue-select', 'vue-multiselect'],
18+
},
19+
},
20+
vuePluginOptions: {
21+
template: {
22+
compilerOptions: {
23+
isCustomElement: (tag) => {
24+
// List of deprecated HTML tags to treat as custom elements
25+
// Add any other custom elements to this list
26+
const customElements = [
27+
'Badge', 'center', 'font', 'big', 'small', 'strike', 'tt',
28+
'marquee', 'blink', 'applet', 'frameset', 'frame', 'dir',
29+
];
30+
return customElements.includes(tag);
31+
},
32+
},
1833
},
1934
},
2035
}),

0 commit comments

Comments
 (0)