保存一下
This commit is contained in:
@@ -10,7 +10,13 @@ import UnoCSS from 'unocss/vite'
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
vue(),
|
||||
vue({
|
||||
template: {
|
||||
compilerOptions: {
|
||||
isCustomElement: tag => tag.endsWith('-element') // 忽略自定义元素
|
||||
}
|
||||
}
|
||||
}),
|
||||
vueJsx(),
|
||||
vueDevTools(),
|
||||
UnoCSS()
|
||||
|
||||
Reference in New Issue
Block a user