From 5a085d3c600bf9631b40218eb08afc1382d5640a Mon Sep 17 00:00:00 2001 From: ivamp Date: Sun, 4 Aug 2024 17:11:23 +0800 Subject: [PATCH] =?UTF-8?q?=20Amber=E5=90=8E=E5=8F=B0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E5=92=8C=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将应用的配置从状态管理仓库迁移到独立的配置文件,以简化配置的管理。同时,统一使用新的配置方式,优化了配置的加载逻辑,提高了代码的可读性和维护性。此外,对部分Vue组件和API插件进行了相应的配置路径调整,确保应用的各个部分都能正确地使用新的配置方式。 BREAKING CHANGE: 由于配置项的位置和加载方式已更改,因此任何依赖于旧配置路径或方法的代码都必须进行相应的调整,以确保应用能够正常运行。 --- src/auto-imports.d.ts | 424 +++++++++++++-------------------- src/components.d.ts | 5 +- src/components/AppBar.vue | 27 +-- src/config/config.ts | 20 ++ src/layouts/default.vue | 1 - src/pages/assistants/binds.vue | 0 src/pages/auth/callback.vue | 13 +- src/pages/auth/login.vue | 15 +- src/pages/chats/[id]/index.vue | 22 +- src/pages/chats/index.vue | 0 src/pages/ping/index.vue | 2 +- src/pages/tools/create.vue | 2 +- src/pages/tools/index.vue | 2 +- src/plugins/api.ts | 5 +- src/stores/config.ts | 11 +- src/stores/user.ts | 10 +- src/typed-router.d.ts | 2 - 17 files changed, 237 insertions(+), 324 deletions(-) create mode 100644 src/config/config.ts delete mode 100644 src/pages/assistants/binds.vue delete mode 100644 src/pages/chats/index.vue diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index bc00be6..f7b0c96 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -5,271 +5,187 @@ // Generated by unplugin-auto-import export {} declare global { - const EffectScope: (typeof import("vue"))["EffectScope"]; - const computed: (typeof import("vue"))["computed"]; - const createApp: (typeof import("vue"))["createApp"]; - const customRef: (typeof import("vue"))["customRef"]; - const defineAsyncComponent: (typeof import("vue"))["defineAsyncComponent"]; - const defineComponent: (typeof import("vue"))["defineComponent"]; - const effectScope: (typeof import("vue"))["effectScope"]; - const getCurrentInstance: (typeof import("vue"))["getCurrentInstance"]; - const getCurrentScope: (typeof import("vue"))["getCurrentScope"]; - const h: (typeof import("vue"))["h"]; - const inject: (typeof import("vue"))["inject"]; - const isProxy: (typeof import("vue"))["isProxy"]; - const isReactive: (typeof import("vue"))["isReactive"]; - const isReadonly: (typeof import("vue"))["isReadonly"]; - const isRef: (typeof import("vue"))["isRef"]; - const markRaw: (typeof import("vue"))["markRaw"]; - const nextTick: (typeof import("vue"))["nextTick"]; - const onActivated: (typeof import("vue"))["onActivated"]; - const onBeforeMount: (typeof import("vue"))["onBeforeMount"]; - const onBeforeRouteLeave: (typeof import("vue-router"))["onBeforeRouteLeave"]; - const onBeforeRouteUpdate: (typeof import("vue-router"))["onBeforeRouteUpdate"]; - const onBeforeUnmount: (typeof import("vue"))["onBeforeUnmount"]; - const onBeforeUpdate: (typeof import("vue"))["onBeforeUpdate"]; - const onDeactivated: (typeof import("vue"))["onDeactivated"]; - const onErrorCaptured: (typeof import("vue"))["onErrorCaptured"]; - const onMounted: (typeof import("vue"))["onMounted"]; - const onRenderTracked: (typeof import("vue"))["onRenderTracked"]; - const onRenderTriggered: (typeof import("vue"))["onRenderTriggered"]; - const onScopeDispose: (typeof import("vue"))["onScopeDispose"]; - const onServerPrefetch: (typeof import("vue"))["onServerPrefetch"]; - const onUnmounted: (typeof import("vue"))["onUnmounted"]; - const onUpdated: (typeof import("vue"))["onUpdated"]; - const provide: (typeof import("vue"))["provide"]; - const reactive: (typeof import("vue"))["reactive"]; - const readonly: (typeof import("vue"))["readonly"]; - const ref: (typeof import("vue"))["ref"]; - const resolveComponent: (typeof import("vue"))["resolveComponent"]; - const shallowReactive: (typeof import("vue"))["shallowReactive"]; - const shallowReadonly: (typeof import("vue"))["shallowReadonly"]; - const shallowRef: (typeof import("vue"))["shallowRef"]; - const toRaw: (typeof import("vue"))["toRaw"]; - const toRef: (typeof import("vue"))["toRef"]; - const toRefs: (typeof import("vue"))["toRefs"]; - const toValue: (typeof import("vue"))["toValue"]; - const triggerRef: (typeof import("vue"))["triggerRef"]; - const unref: (typeof import("vue"))["unref"]; - const useAttrs: (typeof import("vue"))["useAttrs"]; - const useCssModule: (typeof import("vue"))["useCssModule"]; - const useCssVars: (typeof import("vue"))["useCssVars"]; - const useLink: (typeof import("vue-router"))["useLink"]; - const useRoute: (typeof import("vue-router/auto"))["useRoute"]; - const useRouter: (typeof import("vue-router/auto"))["useRouter"]; - const useSlots: (typeof import("vue"))["useSlots"]; - const watch: (typeof import("vue"))["watch"]; - const watchEffect: (typeof import("vue"))["watchEffect"]; - const watchPostEffect: (typeof import("vue"))["watchPostEffect"]; - const watchSyncEffect: (typeof import("vue"))["watchSyncEffect"]; + const EffectScope: typeof import('vue')['EffectScope'] + const computed: typeof import('vue')['computed'] + const createApp: typeof import('vue')['createApp'] + const customRef: typeof import('vue')['customRef'] + const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] + const defineComponent: typeof import('vue')['defineComponent'] + const effectScope: typeof import('vue')['effectScope'] + const getCurrentInstance: typeof import('vue')['getCurrentInstance'] + const getCurrentScope: typeof import('vue')['getCurrentScope'] + const h: typeof import('vue')['h'] + const inject: typeof import('vue')['inject'] + const isProxy: typeof import('vue')['isProxy'] + const isReactive: typeof import('vue')['isReactive'] + const isReadonly: typeof import('vue')['isReadonly'] + const isRef: typeof import('vue')['isRef'] + const markRaw: typeof import('vue')['markRaw'] + const nextTick: typeof import('vue')['nextTick'] + const onActivated: typeof import('vue')['onActivated'] + const onBeforeMount: typeof import('vue')['onBeforeMount'] + const onBeforeRouteLeave: (typeof import("vue-router"))["onBeforeRouteLeave"] + const onBeforeRouteUpdate: (typeof import("vue-router"))["onBeforeRouteUpdate"] + const onBeforeUnmount: typeof import('vue')['onBeforeUnmount'] + const onBeforeUpdate: typeof import('vue')['onBeforeUpdate'] + const onDeactivated: typeof import('vue')['onDeactivated'] + const onErrorCaptured: typeof import('vue')['onErrorCaptured'] + const onMounted: typeof import('vue')['onMounted'] + const onRenderTracked: typeof import('vue')['onRenderTracked'] + const onRenderTriggered: typeof import('vue')['onRenderTriggered'] + const onScopeDispose: typeof import('vue')['onScopeDispose'] + const onServerPrefetch: typeof import('vue')['onServerPrefetch'] + const onUnmounted: typeof import('vue')['onUnmounted'] + const onUpdated: typeof import('vue')['onUpdated'] + const provide: typeof import('vue')['provide'] + const reactive: typeof import('vue')['reactive'] + const readonly: typeof import('vue')['readonly'] + const ref: typeof import('vue')['ref'] + const resolveComponent: typeof import('vue')['resolveComponent'] + const shallowReactive: typeof import('vue')['shallowReactive'] + const shallowReadonly: typeof import('vue')['shallowReadonly'] + const shallowRef: typeof import('vue')['shallowRef'] + const toRaw: typeof import('vue')['toRaw'] + const toRef: typeof import('vue')['toRef'] + const toRefs: typeof import('vue')['toRefs'] + const toValue: typeof import('vue')['toValue'] + const triggerRef: typeof import('vue')['triggerRef'] + const unref: typeof import('vue')['unref'] + const useAttrs: typeof import('vue')['useAttrs'] + const useCssModule: typeof import('vue')['useCssModule'] + const useCssVars: typeof import('vue')['useCssVars'] + const useLink: (typeof import("vue-router"))["useLink"] + const useRoute: typeof import('vue-router/auto')['useRoute'] + const useRouter: typeof import('vue-router/auto')['useRouter'] + const useSlots: typeof import('vue')['useSlots'] + const watch: typeof import('vue')['watch'] + const watchEffect: typeof import('vue')['watchEffect'] + const watchPostEffect: typeof import('vue')['watchPostEffect'] + const watchSyncEffect: typeof import('vue')['watchSyncEffect'] } // for type re-export declare global { // @ts-ignore - export type { - Component, - ComponentPublicInstance, - ComputedRef, - ExtractDefaultPropTypes, - ExtractPropTypes, - ExtractPublicPropTypes, - InjectionKey, - PropType, - Ref, - VNode, - WritableComputedRef, - } from "vue"; - import("vue"); + export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue' + import('vue') } // for vue template auto import -import { UnwrapRef } from "vue"; -declare module "vue" { +import { UnwrapRef } from 'vue' +declare module 'vue' { interface GlobalComponents {} interface ComponentCustomProperties { - readonly EffectScope: UnwrapRef<(typeof import("vue"))["EffectScope"]>; - readonly computed: UnwrapRef<(typeof import("vue"))["computed"]>; - readonly createApp: UnwrapRef<(typeof import("vue"))["createApp"]>; - readonly customRef: UnwrapRef<(typeof import("vue"))["customRef"]>; - readonly defineAsyncComponent: UnwrapRef< - (typeof import("vue"))["defineAsyncComponent"] - >; - readonly defineComponent: UnwrapRef< - (typeof import("vue"))["defineComponent"] - >; - readonly effectScope: UnwrapRef<(typeof import("vue"))["effectScope"]>; - readonly getCurrentInstance: UnwrapRef< - (typeof import("vue"))["getCurrentInstance"] - >; - readonly getCurrentScope: UnwrapRef< - (typeof import("vue"))["getCurrentScope"] - >; - readonly h: UnwrapRef<(typeof import("vue"))["h"]>; - readonly inject: UnwrapRef<(typeof import("vue"))["inject"]>; - readonly isProxy: UnwrapRef<(typeof import("vue"))["isProxy"]>; - readonly isReactive: UnwrapRef<(typeof import("vue"))["isReactive"]>; - readonly isReadonly: UnwrapRef<(typeof import("vue"))["isReadonly"]>; - readonly isRef: UnwrapRef<(typeof import("vue"))["isRef"]>; - readonly markRaw: UnwrapRef<(typeof import("vue"))["markRaw"]>; - readonly nextTick: UnwrapRef<(typeof import("vue"))["nextTick"]>; - readonly onActivated: UnwrapRef<(typeof import("vue"))["onActivated"]>; - readonly onBeforeMount: UnwrapRef<(typeof import("vue"))["onBeforeMount"]>; - readonly onBeforeUnmount: UnwrapRef< - (typeof import("vue"))["onBeforeUnmount"] - >; - readonly onBeforeUpdate: UnwrapRef< - (typeof import("vue"))["onBeforeUpdate"] - >; - readonly onDeactivated: UnwrapRef<(typeof import("vue"))["onDeactivated"]>; - readonly onErrorCaptured: UnwrapRef< - (typeof import("vue"))["onErrorCaptured"] - >; - readonly onMounted: UnwrapRef<(typeof import("vue"))["onMounted"]>; - readonly onRenderTracked: UnwrapRef< - (typeof import("vue"))["onRenderTracked"] - >; - readonly onRenderTriggered: UnwrapRef< - (typeof import("vue"))["onRenderTriggered"] - >; - readonly onScopeDispose: UnwrapRef< - (typeof import("vue"))["onScopeDispose"] - >; - readonly onServerPrefetch: UnwrapRef< - (typeof import("vue"))["onServerPrefetch"] - >; - readonly onUnmounted: UnwrapRef<(typeof import("vue"))["onUnmounted"]>; - readonly onUpdated: UnwrapRef<(typeof import("vue"))["onUpdated"]>; - readonly provide: UnwrapRef<(typeof import("vue"))["provide"]>; - readonly reactive: UnwrapRef<(typeof import("vue"))["reactive"]>; - readonly readonly: UnwrapRef<(typeof import("vue"))["readonly"]>; - readonly ref: UnwrapRef<(typeof import("vue"))["ref"]>; - readonly resolveComponent: UnwrapRef< - (typeof import("vue"))["resolveComponent"] - >; - readonly shallowReactive: UnwrapRef< - (typeof import("vue"))["shallowReactive"] - >; - readonly shallowReadonly: UnwrapRef< - (typeof import("vue"))["shallowReadonly"] - >; - readonly shallowRef: UnwrapRef<(typeof import("vue"))["shallowRef"]>; - readonly toRaw: UnwrapRef<(typeof import("vue"))["toRaw"]>; - readonly toRef: UnwrapRef<(typeof import("vue"))["toRef"]>; - readonly toRefs: UnwrapRef<(typeof import("vue"))["toRefs"]>; - readonly toValue: UnwrapRef<(typeof import("vue"))["toValue"]>; - readonly triggerRef: UnwrapRef<(typeof import("vue"))["triggerRef"]>; - readonly unref: UnwrapRef<(typeof import("vue"))["unref"]>; - readonly useAttrs: UnwrapRef<(typeof import("vue"))["useAttrs"]>; - readonly useCssModule: UnwrapRef<(typeof import("vue"))["useCssModule"]>; - readonly useCssVars: UnwrapRef<(typeof import("vue"))["useCssVars"]>; - readonly useRoute: UnwrapRef< - (typeof import("vue-router/auto"))["useRoute"] - >; - readonly useRouter: UnwrapRef< - (typeof import("vue-router/auto"))["useRouter"] - >; - readonly useSlots: UnwrapRef<(typeof import("vue"))["useSlots"]>; - readonly watch: UnwrapRef<(typeof import("vue"))["watch"]>; - readonly watchEffect: UnwrapRef<(typeof import("vue"))["watchEffect"]>; - readonly watchPostEffect: UnwrapRef< - (typeof import("vue"))["watchPostEffect"] - >; - readonly watchSyncEffect: UnwrapRef< - (typeof import("vue"))["watchSyncEffect"] - >; + readonly EffectScope: UnwrapRef + readonly computed: UnwrapRef + readonly createApp: UnwrapRef + readonly customRef: UnwrapRef + readonly defineAsyncComponent: UnwrapRef + readonly defineComponent: UnwrapRef + readonly effectScope: UnwrapRef + readonly getCurrentInstance: UnwrapRef + readonly getCurrentScope: UnwrapRef + readonly h: UnwrapRef + readonly inject: UnwrapRef + readonly isProxy: UnwrapRef + readonly isReactive: UnwrapRef + readonly isReadonly: UnwrapRef + readonly isRef: UnwrapRef + readonly markRaw: UnwrapRef + readonly nextTick: UnwrapRef + readonly onActivated: UnwrapRef + readonly onBeforeMount: UnwrapRef + readonly onBeforeUnmount: UnwrapRef + readonly onBeforeUpdate: UnwrapRef + readonly onDeactivated: UnwrapRef + readonly onErrorCaptured: UnwrapRef + readonly onMounted: UnwrapRef + readonly onRenderTracked: UnwrapRef + readonly onRenderTriggered: UnwrapRef + readonly onScopeDispose: UnwrapRef + readonly onServerPrefetch: UnwrapRef + readonly onUnmounted: UnwrapRef + readonly onUpdated: UnwrapRef + readonly provide: UnwrapRef + readonly reactive: UnwrapRef + readonly readonly: UnwrapRef + readonly ref: UnwrapRef + readonly resolveComponent: UnwrapRef + readonly shallowReactive: UnwrapRef + readonly shallowReadonly: UnwrapRef + readonly shallowRef: UnwrapRef + readonly toRaw: UnwrapRef + readonly toRef: UnwrapRef + readonly toRefs: UnwrapRef + readonly toValue: UnwrapRef + readonly triggerRef: UnwrapRef + readonly unref: UnwrapRef + readonly useAttrs: UnwrapRef + readonly useCssModule: UnwrapRef + readonly useCssVars: UnwrapRef + readonly useRoute: UnwrapRef + readonly useRouter: UnwrapRef + readonly useSlots: UnwrapRef + readonly watch: UnwrapRef + readonly watchEffect: UnwrapRef + readonly watchPostEffect: UnwrapRef + readonly watchSyncEffect: UnwrapRef } } -declare module "@vue/runtime-core" { +declare module '@vue/runtime-core' { interface GlobalComponents {} interface ComponentCustomProperties { - readonly EffectScope: UnwrapRef<(typeof import("vue"))["EffectScope"]>; - readonly computed: UnwrapRef<(typeof import("vue"))["computed"]>; - readonly createApp: UnwrapRef<(typeof import("vue"))["createApp"]>; - readonly customRef: UnwrapRef<(typeof import("vue"))["customRef"]>; - readonly defineAsyncComponent: UnwrapRef< - (typeof import("vue"))["defineAsyncComponent"] - >; - readonly defineComponent: UnwrapRef< - (typeof import("vue"))["defineComponent"] - >; - readonly effectScope: UnwrapRef<(typeof import("vue"))["effectScope"]>; - readonly getCurrentInstance: UnwrapRef< - (typeof import("vue"))["getCurrentInstance"] - >; - readonly getCurrentScope: UnwrapRef< - (typeof import("vue"))["getCurrentScope"] - >; - readonly h: UnwrapRef<(typeof import("vue"))["h"]>; - readonly inject: UnwrapRef<(typeof import("vue"))["inject"]>; - readonly isProxy: UnwrapRef<(typeof import("vue"))["isProxy"]>; - readonly isReactive: UnwrapRef<(typeof import("vue"))["isReactive"]>; - readonly isReadonly: UnwrapRef<(typeof import("vue"))["isReadonly"]>; - readonly isRef: UnwrapRef<(typeof import("vue"))["isRef"]>; - readonly markRaw: UnwrapRef<(typeof import("vue"))["markRaw"]>; - readonly nextTick: UnwrapRef<(typeof import("vue"))["nextTick"]>; - readonly onActivated: UnwrapRef<(typeof import("vue"))["onActivated"]>; - readonly onBeforeMount: UnwrapRef<(typeof import("vue"))["onBeforeMount"]>; - readonly onBeforeUnmount: UnwrapRef< - (typeof import("vue"))["onBeforeUnmount"] - >; - readonly onBeforeUpdate: UnwrapRef< - (typeof import("vue"))["onBeforeUpdate"] - >; - readonly onDeactivated: UnwrapRef<(typeof import("vue"))["onDeactivated"]>; - readonly onErrorCaptured: UnwrapRef< - (typeof import("vue"))["onErrorCaptured"] - >; - readonly onMounted: UnwrapRef<(typeof import("vue"))["onMounted"]>; - readonly onRenderTracked: UnwrapRef< - (typeof import("vue"))["onRenderTracked"] - >; - readonly onRenderTriggered: UnwrapRef< - (typeof import("vue"))["onRenderTriggered"] - >; - readonly onScopeDispose: UnwrapRef< - (typeof import("vue"))["onScopeDispose"] - >; - readonly onServerPrefetch: UnwrapRef< - (typeof import("vue"))["onServerPrefetch"] - >; - readonly onUnmounted: UnwrapRef<(typeof import("vue"))["onUnmounted"]>; - readonly onUpdated: UnwrapRef<(typeof import("vue"))["onUpdated"]>; - readonly provide: UnwrapRef<(typeof import("vue"))["provide"]>; - readonly reactive: UnwrapRef<(typeof import("vue"))["reactive"]>; - readonly readonly: UnwrapRef<(typeof import("vue"))["readonly"]>; - readonly ref: UnwrapRef<(typeof import("vue"))["ref"]>; - readonly resolveComponent: UnwrapRef< - (typeof import("vue"))["resolveComponent"] - >; - readonly shallowReactive: UnwrapRef< - (typeof import("vue"))["shallowReactive"] - >; - readonly shallowReadonly: UnwrapRef< - (typeof import("vue"))["shallowReadonly"] - >; - readonly shallowRef: UnwrapRef<(typeof import("vue"))["shallowRef"]>; - readonly toRaw: UnwrapRef<(typeof import("vue"))["toRaw"]>; - readonly toRef: UnwrapRef<(typeof import("vue"))["toRef"]>; - readonly toRefs: UnwrapRef<(typeof import("vue"))["toRefs"]>; - readonly toValue: UnwrapRef<(typeof import("vue"))["toValue"]>; - readonly triggerRef: UnwrapRef<(typeof import("vue"))["triggerRef"]>; - readonly unref: UnwrapRef<(typeof import("vue"))["unref"]>; - readonly useAttrs: UnwrapRef<(typeof import("vue"))["useAttrs"]>; - readonly useCssModule: UnwrapRef<(typeof import("vue"))["useCssModule"]>; - readonly useCssVars: UnwrapRef<(typeof import("vue"))["useCssVars"]>; - readonly useRoute: UnwrapRef< - (typeof import("vue-router/auto"))["useRoute"] - >; - readonly useRouter: UnwrapRef< - (typeof import("vue-router/auto"))["useRouter"] - >; - readonly useSlots: UnwrapRef<(typeof import("vue"))["useSlots"]>; - readonly watch: UnwrapRef<(typeof import("vue"))["watch"]>; - readonly watchEffect: UnwrapRef<(typeof import("vue"))["watchEffect"]>; - readonly watchPostEffect: UnwrapRef< - (typeof import("vue"))["watchPostEffect"] - >; - readonly watchSyncEffect: UnwrapRef< - (typeof import("vue"))["watchSyncEffect"] - >; + readonly EffectScope: UnwrapRef + readonly computed: UnwrapRef + readonly createApp: UnwrapRef + readonly customRef: UnwrapRef + readonly defineAsyncComponent: UnwrapRef + readonly defineComponent: UnwrapRef + readonly effectScope: UnwrapRef + readonly getCurrentInstance: UnwrapRef + readonly getCurrentScope: UnwrapRef + readonly h: UnwrapRef + readonly inject: UnwrapRef + readonly isProxy: UnwrapRef + readonly isReactive: UnwrapRef + readonly isReadonly: UnwrapRef + readonly isRef: UnwrapRef + readonly markRaw: UnwrapRef + readonly nextTick: UnwrapRef + readonly onActivated: UnwrapRef + readonly onBeforeMount: UnwrapRef + readonly onBeforeUnmount: UnwrapRef + readonly onBeforeUpdate: UnwrapRef + readonly onDeactivated: UnwrapRef + readonly onErrorCaptured: UnwrapRef + readonly onMounted: UnwrapRef + readonly onRenderTracked: UnwrapRef + readonly onRenderTriggered: UnwrapRef + readonly onScopeDispose: UnwrapRef + readonly onServerPrefetch: UnwrapRef + readonly onUnmounted: UnwrapRef + readonly onUpdated: UnwrapRef + readonly provide: UnwrapRef + readonly reactive: UnwrapRef + readonly readonly: UnwrapRef + readonly ref: UnwrapRef + readonly resolveComponent: UnwrapRef + readonly shallowReactive: UnwrapRef + readonly shallowReadonly: UnwrapRef + readonly shallowRef: UnwrapRef + readonly toRaw: UnwrapRef + readonly toRef: UnwrapRef + readonly toRefs: UnwrapRef + readonly toValue: UnwrapRef + readonly triggerRef: UnwrapRef + readonly unref: UnwrapRef + readonly useAttrs: UnwrapRef + readonly useCssModule: UnwrapRef + readonly useCssVars: UnwrapRef + readonly useRoute: UnwrapRef + readonly useRouter: UnwrapRef + readonly useSlots: UnwrapRef + readonly watch: UnwrapRef + readonly watchEffect: UnwrapRef + readonly watchPostEffect: UnwrapRef + readonly watchSyncEffect: UnwrapRef } } diff --git a/src/components.d.ts b/src/components.d.ts index 9932365..3f1e998 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -2,15 +2,12 @@ // @ts-nocheck // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 -export {}; +export {} /* prettier-ignore */ declare module 'vue' { export interface GlobalComponents { AppBar: typeof import('./components/AppBar.vue')['default'] - AppFooter: typeof import('./components/AppFooter.vue')['default'] - copy: typeof import('./components/default copy.vue')['default'] - HelloWorld: typeof import('./components/HelloWorld.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] View: typeof import('./components/View.vue')['default'] diff --git a/src/components/AppBar.vue b/src/components/AppBar.vue index 208f6f8..8b084c3 100644 --- a/src/components/AppBar.vue +++ b/src/components/AppBar.vue @@ -16,7 +16,7 @@ -