diff --git a/types/auto-imports.d.ts b/types/auto-imports.d.ts index 102591a..b0a515f 100644 --- a/types/auto-imports.d.ts +++ b/types/auto-imports.d.ts @@ -33,7 +33,6 @@ declare global { const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn'] const createVNode: typeof import('vue')['createVNode'] const customRef: typeof import('vue')['customRef'] - const dayjs: typeof import('element-plus')['dayjs'] const debouncedRef: typeof import('@vueuse/core')['debouncedRef'] const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch'] const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] @@ -327,7 +326,6 @@ declare module 'vue' { readonly createUnrefFn: UnwrapRef readonly createVNode: UnwrapRef readonly customRef: UnwrapRef - readonly dayjs: UnwrapRef readonly debouncedRef: UnwrapRef readonly debouncedWatch: UnwrapRef readonly defineAsyncComponent: UnwrapRef @@ -615,7 +613,6 @@ declare module '@vue/runtime-core' { readonly createUnrefFn: UnwrapRef readonly createVNode: UnwrapRef readonly customRef: UnwrapRef - readonly dayjs: UnwrapRef readonly debouncedRef: UnwrapRef readonly debouncedWatch: UnwrapRef readonly defineAsyncComponent: UnwrapRef diff --git a/vite.config.ts b/vite.config.ts index 4caf384..859e02f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,8 +1,8 @@ /* * @Author: zhaojinfeng 121016171@qq.com * @Date: 2023-06-15 13:22:04 - * @LastEditors: zhaojinfeng 121016171@qq.com - * @LastEditTime: 2023-07-21 12:26:14 + * @LastEditors: peerless_hero peerless_hero@outlook.com + * @LastEditTime: 2023-08-30 16:30:47 * @FilePath: \vue3\vite.config.ts * @Description: * @@ -51,8 +51,7 @@ export default defineConfig({ 'vue-router', '@vueuse/core', { - 'vue': ['createVNode'], - 'element-plus': ['dayjs'], + vue: ['createVNode'], }, ], vueTemplate: true,