Skip to content

Commit 7fea89f

Browse files
committed
feat: aotu import
1 parent d35d27d commit 7fea89f

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

build/vite/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function createVitePlugins(VITE_APP_TITLE: string) {
2727
progress(),
2828
PurgeIcons(),
2929
vueSetupExtend(),
30-
ElementPlus(),
30+
ElementPlus({}),
3131
AutoImport({
3232
include: [
3333
/\.[tj]sx?$/, // .ts, .tsx, .js, .jsx

src/types/auto-components.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
// generated by unplugin-vue-components
2-
// We suggest you to commit this file into source control
1+
/* eslint-disable */
2+
/* prettier-ignore */
3+
// @ts-nocheck
4+
// Generated by unplugin-vue-components
35
// Read more: https://github.com/vuejs/core/pull/3399
46
import '@vue/runtime-core'
57

src/types/auto-imports.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,5 @@ declare global {
7070
// for type re-export
7171
declare global {
7272
// @ts-ignore
73-
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue'
73+
export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
7474
}

0 commit comments

Comments
 (0)