diff --git a/vite.config.ts b/vite.config.ts index 9a5be80..6bd732f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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 }, }), }, }),