Update Vite config
This commit is contained in:
parent
6d6b9bdbca
commit
6a13fde12b
@ -18,7 +18,7 @@ import Shiki from 'markdown-it-shiki'
|
|||||||
import VueMacros from 'unplugin-vue-macros/vite'
|
import VueMacros from 'unplugin-vue-macros/vite'
|
||||||
|
|
||||||
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
|
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
|
||||||
import vuetify from 'vite-plugin-vuetify'
|
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
resolve: {
|
resolve: {
|
||||||
@ -35,6 +35,7 @@ export default defineConfig({
|
|||||||
vue: Vue({
|
vue: Vue({
|
||||||
include: [/\.vue$/, /\.md$/],
|
include: [/\.vue$/, /\.md$/],
|
||||||
reactivityTransform: true,
|
reactivityTransform: true,
|
||||||
|
template: { transformAssetUrls },
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user