chore: 移除dayjs的自动导入
This commit is contained in:
3
types/auto-imports.d.ts
vendored
3
types/auto-imports.d.ts
vendored
@ -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<typeof import('@vueuse/core')['createUnrefFn']>
|
||||
readonly createVNode: UnwrapRef<typeof import('vue')['createVNode']>
|
||||
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
|
||||
readonly dayjs: UnwrapRef<typeof import('element-plus')['dayjs']>
|
||||
readonly debouncedRef: UnwrapRef<typeof import('@vueuse/core')['debouncedRef']>
|
||||
readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>
|
||||
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
||||
@ -615,7 +613,6 @@ declare module '@vue/runtime-core' {
|
||||
readonly createUnrefFn: UnwrapRef<typeof import('@vueuse/core')['createUnrefFn']>
|
||||
readonly createVNode: UnwrapRef<typeof import('vue')['createVNode']>
|
||||
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
|
||||
readonly dayjs: UnwrapRef<typeof import('element-plus')['dayjs']>
|
||||
readonly debouncedRef: UnwrapRef<typeof import('@vueuse/core')['debouncedRef']>
|
||||
readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>
|
||||
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user