Update Vite config

This commit is contained in:
Thehrz 2023-02-18 14:45:49 +08:00
parent 6d6b9bdbca
commit 6a13fde12b

View File

@ -18,7 +18,7 @@ import Shiki from 'markdown-it-shiki'
import VueMacros from 'unplugin-vue-macros/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
import vuetify from 'vite-plugin-vuetify'
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
export default defineConfig({
resolve: {
@ -35,6 +35,7 @@ export default defineConfig({
vue: Vue({
include: [/\.vue$/, /\.md$/],
reactivityTransform: true,
template: { transformAssetUrls },
}),
},
}),