feat: aotu import

pull/15/head
xingyuv 2023-03-07 10:05:45 +08:00
parent d35d27d197
commit 7fea89f5f9
3 changed files with 6 additions and 4 deletions

View File

@ -27,7 +27,7 @@ export function createVitePlugins(VITE_APP_TITLE: string) {
progress(), progress(),
PurgeIcons(), PurgeIcons(),
vueSetupExtend(), vueSetupExtend(),
ElementPlus(), ElementPlus({}),
AutoImport({ AutoImport({
include: [ include: [
/\.[tj]sx?$/, // .ts, .tsx, .js, .jsx /\.[tj]sx?$/, // .ts, .tsx, .js, .jsx

View File

@ -1,5 +1,7 @@
// generated by unplugin-vue-components /* eslint-disable */
// We suggest you to commit this file into source control /* prettier-ignore */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399 // Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core' import '@vue/runtime-core'

View File

@ -70,5 +70,5 @@ declare global {
// for type re-export // for type re-export
declare global { declare global {
// @ts-ignore // @ts-ignore
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue' export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
} }