parent
73289d2c11
commit
84ec4ff1ae
7 changed files with 63 additions and 21 deletions
@ -1,18 +1,19 @@ |
||||
import { defineConfig } from 'vite' |
||||
import {defineConfig} from 'vite' |
||||
import vue from '@vitejs/plugin-vue' |
||||
import AutoImport from 'unplugin-auto-import/vite' |
||||
import Components from 'unplugin-vue-components/vite' |
||||
import { ElementPlusResolver } from "unplugin-vue-components/resolvers"; |
||||
import {ElementPlusResolver} from "unplugin-vue-components/resolvers"; |
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({ |
||||
plugins: [ |
||||
vue(), |
||||
AutoImport({ |
||||
resolvers: [ElementPlusResolver()], |
||||
}), |
||||
Components({ |
||||
resolvers: [ElementPlusResolver()] |
||||
}) |
||||
], |
||||
plugins: [ |
||||
vue(), |
||||
AutoImport({ |
||||
// imports: ['vue', 'vue-router', 'vuex', 'vue-i18n'],
|
||||
resolvers: [ElementPlusResolver()], |
||||
}), |
||||
Components({ |
||||
resolvers: [ElementPlusResolver()] |
||||
}) |
||||
], |
||||
}) |
||||
|
Loading…
Reference in new issue