15 lines
339 B
TypeScript
15 lines
339 B
TypeScript
|
import { defineConfig } from 'vite'
|
||
|
import vue from '@vitejs/plugin-vue'
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [vue({
|
||
|
template: {
|
||
|
compilerOptions: {
|
||
|
// 所有以 mdui- 开头的标签名都是 mdui 组件
|
||
|
isCustomElement: (tag) => tag.startsWith('mdui-')
|
||
|
}
|
||
|
}
|
||
|
})],
|
||
|
})
|