chore: 移除plugin unplugin-vue-define-options(vue官方已支持)

This commit is contained in:
zclzone 2023-05-13 17:25:44 +08:00
parent fcdd31c935
commit 35ed004b2e

View File

@ -1,5 +1,4 @@
import { resolve } from 'path'
import DefineOptions from 'unplugin-vue-define-options/vite'
import AutoImport from 'unplugin-auto-import/vite'
import Components from 'unplugin-vue-components/vite'
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers'
@ -19,7 +18,6 @@ import { getSrcPath } from '../utils'
const customIconPath = resolve(getSrcPath(), 'assets/svg')
export default [
DefineOptions(),
AutoImport({
imports: ['vue', 'vue-router'],
dts: false,