From 6a13fde12bd478d2933e1c9b96c9cba0235b440c Mon Sep 17 00:00:00 2001 From: Thehrz Date: Sat, 18 Feb 2023 14:45:49 +0800 Subject: [PATCH] Update Vite config --- vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }, }), }, }),