chore: update dependencies and migrate to vue-router (#56)
* chore: update dependencies and migrate to vue-router - Updated package versions in pnpm-workspace.yaml for build and dev dependencies. - Added migration note for vue-router in src/pages/README.md. - Created typed-router.d.ts for type definitions generated by vue-router. - Modified tsconfig.json to include typed-router.d.ts. - Updated vite.config.ts to use new vue-router imports and configured type definitions. * fix: type fix * fix: type fix * fix:resolve typescript error
This commit is contained in:
12 files changed
+3275
-2605
No files matched your search
@@ -62,8 +62,7 @@ See [Vitesse](https://github.com/antfu/vitesse) for full featureset.
|
|||||||
|
|
||||||
### Plugins
|
### Plugins
|
||||||
|
|
||||||
- [Vue Router](https://github.com/vuejs/vue-router)
|
- [Vue Router](https://github.com/vuejs/vue-router) - file system based routing
|
||||||
- [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - file system based routing
|
|
||||||
- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - Directly use Vue Composition API and others without importing
|
- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - Directly use Vue Composition API and others without importing
|
||||||
- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - components auto import
|
- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - components auto import
|
||||||
- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - Explore and extend more macros and syntax sugar to Vue.
|
- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - Explore and extend more macros and syntax sugar to Vue.
|
||||||
|
|||||||
+1
-2
@@ -63,8 +63,7 @@
|
|||||||
|
|
||||||
### 插件
|
### 插件
|
||||||
|
|
||||||
- [Vue Router](https://github.com/vuejs/vue-router)
|
- [Vue Router](https://github.com/vuejs/vue-router) - 以文件系统为基础的路由
|
||||||
- [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - 以文件系统为基础的路由
|
|
||||||
- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 等,无需导入
|
- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 等,无需导入
|
||||||
- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - 自动加载组件
|
- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - 自动加载组件
|
||||||
- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - 探索并扩展更多的宏和语法糖到 Vue 中
|
- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - 探索并扩展更多的宏和语法糖到 Vue 中
|
||||||
|
|||||||
Vendored
+301
-291
@@ -6,302 +6,307 @@
|
|||||||
// biome-ignore lint: disable
|
// biome-ignore lint: disable
|
||||||
export {}
|
export {}
|
||||||
declare global {
|
declare global {
|
||||||
const EffectScope: typeof import('vue')['EffectScope']
|
const EffectScope: typeof import('vue').EffectScope
|
||||||
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
|
const asyncComputed: typeof import('@vueuse/core').asyncComputed
|
||||||
const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
|
const autoResetRef: typeof import('@vueuse/core').autoResetRef
|
||||||
const computed: typeof import('vue')['computed']
|
const computed: typeof import('vue').computed
|
||||||
const computedAsync: typeof import('@vueuse/core')['computedAsync']
|
const computedAsync: typeof import('@vueuse/core').computedAsync
|
||||||
const computedEager: typeof import('@vueuse/core')['computedEager']
|
const computedEager: typeof import('@vueuse/core').computedEager
|
||||||
const computedInject: typeof import('@vueuse/core')['computedInject']
|
const computedInject: typeof import('@vueuse/core').computedInject
|
||||||
const computedWithControl: typeof import('@vueuse/core')['computedWithControl']
|
const computedWithControl: typeof import('@vueuse/core').computedWithControl
|
||||||
const controlledComputed: typeof import('@vueuse/core')['controlledComputed']
|
const controlledComputed: typeof import('@vueuse/core').controlledComputed
|
||||||
const controlledRef: typeof import('@vueuse/core')['controlledRef']
|
const controlledRef: typeof import('@vueuse/core').controlledRef
|
||||||
const createApp: typeof import('vue')['createApp']
|
const createApp: typeof import('vue').createApp
|
||||||
const createEventHook: typeof import('@vueuse/core')['createEventHook']
|
const createEventHook: typeof import('@vueuse/core').createEventHook
|
||||||
const createGlobalState: typeof import('@vueuse/core')['createGlobalState']
|
const createGlobalState: typeof import('@vueuse/core').createGlobalState
|
||||||
const createInjectionState: typeof import('@vueuse/core')['createInjectionState']
|
const createInjectionState: typeof import('@vueuse/core').createInjectionState
|
||||||
const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn']
|
const createReactiveFn: typeof import('@vueuse/core').createReactiveFn
|
||||||
const createRef: typeof import('@vueuse/core')['createRef']
|
const createRef: typeof import('@vueuse/core').createRef
|
||||||
const createReusableTemplate: typeof import('@vueuse/core')['createReusableTemplate']
|
const createReusableTemplate: typeof import('@vueuse/core').createReusableTemplate
|
||||||
const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable']
|
const createSharedComposable: typeof import('@vueuse/core').createSharedComposable
|
||||||
const createTemplatePromise: typeof import('@vueuse/core')['createTemplatePromise']
|
const createTemplatePromise: typeof import('@vueuse/core').createTemplatePromise
|
||||||
const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn']
|
const createUnrefFn: typeof import('@vueuse/core').createUnrefFn
|
||||||
const customRef: typeof import('vue')['customRef']
|
const customRef: typeof import('vue').customRef
|
||||||
const debouncedRef: typeof import('@vueuse/core')['debouncedRef']
|
const debouncedRef: typeof import('@vueuse/core').debouncedRef
|
||||||
const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch']
|
const debouncedWatch: typeof import('@vueuse/core').debouncedWatch
|
||||||
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
|
const defineAsyncComponent: typeof import('vue').defineAsyncComponent
|
||||||
const defineComponent: typeof import('vue')['defineComponent']
|
const defineComponent: typeof import('vue').defineComponent
|
||||||
const defineLoader: typeof import('vue-router/auto')['defineLoader']
|
const defineLoader: typeof import('vue-router/auto')['defineLoader']
|
||||||
const definePage: typeof import('unplugin-vue-router/runtime')['definePage']
|
const definePage: typeof import('vue-router/experimental').definePage
|
||||||
const eagerComputed: typeof import('@vueuse/core')['eagerComputed']
|
const eagerComputed: typeof import('@vueuse/core').eagerComputed
|
||||||
const effectScope: typeof import('vue')['effectScope']
|
const effectScope: typeof import('vue').effectScope
|
||||||
const extendRef: typeof import('@vueuse/core')['extendRef']
|
const extendRef: typeof import('@vueuse/core').extendRef
|
||||||
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
const getCurrentInstance: typeof import('vue').getCurrentInstance
|
||||||
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
const getCurrentScope: typeof import('vue').getCurrentScope
|
||||||
const h: typeof import('vue')['h']
|
const getCurrentWatcher: typeof import('vue').getCurrentWatcher
|
||||||
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
|
const h: typeof import('vue').h
|
||||||
const inject: typeof import('vue')['inject']
|
const ignorableWatch: typeof import('@vueuse/core').ignorableWatch
|
||||||
const injectLocal: typeof import('@vueuse/core')['injectLocal']
|
const inject: typeof import('vue').inject
|
||||||
const isDark: typeof import('./src/composables/dark')['isDark']
|
const injectLocal: typeof import('@vueuse/core').injectLocal
|
||||||
const isDefined: typeof import('@vueuse/core')['isDefined']
|
const isDark: typeof import('./src/composables/dark').isDark
|
||||||
const isProxy: typeof import('vue')['isProxy']
|
const isDefined: typeof import('@vueuse/core').isDefined
|
||||||
const isReactive: typeof import('vue')['isReactive']
|
const isProxy: typeof import('vue').isProxy
|
||||||
const isReadonly: typeof import('vue')['isReadonly']
|
const isReactive: typeof import('vue').isReactive
|
||||||
const isRef: typeof import('vue')['isRef']
|
const isReadonly: typeof import('vue').isReadonly
|
||||||
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
|
const isRef: typeof import('vue').isRef
|
||||||
const markRaw: typeof import('vue')['markRaw']
|
const isShallow: typeof import('vue').isShallow
|
||||||
const nextTick: typeof import('vue')['nextTick']
|
const makeDestructurable: typeof import('@vueuse/core').makeDestructurable
|
||||||
const onActivated: typeof import('vue')['onActivated']
|
const markRaw: typeof import('vue').markRaw
|
||||||
const onBeforeMount: typeof import('vue')['onBeforeMount']
|
const nextTick: typeof import('vue').nextTick
|
||||||
const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
|
const onActivated: typeof import('vue').onActivated
|
||||||
const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
|
const onBeforeMount: typeof import('vue').onBeforeMount
|
||||||
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
|
const onBeforeRouteLeave: typeof import('vue-router').onBeforeRouteLeave
|
||||||
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
|
const onBeforeRouteUpdate: typeof import('vue-router').onBeforeRouteUpdate
|
||||||
const onClickOutside: typeof import('@vueuse/core')['onClickOutside']
|
const onBeforeUnmount: typeof import('vue').onBeforeUnmount
|
||||||
const onDeactivated: typeof import('vue')['onDeactivated']
|
const onBeforeUpdate: typeof import('vue').onBeforeUpdate
|
||||||
const onElementRemoval: typeof import('@vueuse/core')['onElementRemoval']
|
const onClickOutside: typeof import('@vueuse/core').onClickOutside
|
||||||
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
|
const onDeactivated: typeof import('vue').onDeactivated
|
||||||
const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke']
|
const onElementRemoval: typeof import('@vueuse/core').onElementRemoval
|
||||||
const onLongPress: typeof import('@vueuse/core')['onLongPress']
|
const onErrorCaptured: typeof import('vue').onErrorCaptured
|
||||||
const onMounted: typeof import('vue')['onMounted']
|
const onKeyStroke: typeof import('@vueuse/core').onKeyStroke
|
||||||
const onRenderTracked: typeof import('vue')['onRenderTracked']
|
const onLongPress: typeof import('@vueuse/core').onLongPress
|
||||||
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
|
const onMounted: typeof import('vue').onMounted
|
||||||
const onScopeDispose: typeof import('vue')['onScopeDispose']
|
const onRenderTracked: typeof import('vue').onRenderTracked
|
||||||
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
|
const onRenderTriggered: typeof import('vue').onRenderTriggered
|
||||||
const onStartTyping: typeof import('@vueuse/core')['onStartTyping']
|
const onScopeDispose: typeof import('vue').onScopeDispose
|
||||||
const onUnmounted: typeof import('vue')['onUnmounted']
|
const onServerPrefetch: typeof import('vue').onServerPrefetch
|
||||||
const onUpdated: typeof import('vue')['onUpdated']
|
const onStartTyping: typeof import('@vueuse/core').onStartTyping
|
||||||
const onWatcherCleanup: typeof import('vue')['onWatcherCleanup']
|
const onUnmounted: typeof import('vue').onUnmounted
|
||||||
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
|
const onUpdated: typeof import('vue').onUpdated
|
||||||
const provide: typeof import('vue')['provide']
|
const onWatcherCleanup: typeof import('vue').onWatcherCleanup
|
||||||
const provideLocal: typeof import('@vueuse/core')['provideLocal']
|
const pausableWatch: typeof import('@vueuse/core').pausableWatch
|
||||||
const reactify: typeof import('@vueuse/core')['reactify']
|
const provide: typeof import('vue').provide
|
||||||
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
|
const provideLocal: typeof import('@vueuse/core').provideLocal
|
||||||
const reactive: typeof import('vue')['reactive']
|
const reactify: typeof import('@vueuse/core').reactify
|
||||||
const reactiveComputed: typeof import('@vueuse/core')['reactiveComputed']
|
const reactifyObject: typeof import('@vueuse/core').reactifyObject
|
||||||
const reactiveOmit: typeof import('@vueuse/core')['reactiveOmit']
|
const reactive: typeof import('vue').reactive
|
||||||
const reactivePick: typeof import('@vueuse/core')['reactivePick']
|
const reactiveComputed: typeof import('@vueuse/core').reactiveComputed
|
||||||
const readonly: typeof import('vue')['readonly']
|
const reactiveOmit: typeof import('@vueuse/core').reactiveOmit
|
||||||
const ref: typeof import('vue')['ref']
|
const reactivePick: typeof import('@vueuse/core').reactivePick
|
||||||
const refAutoReset: typeof import('@vueuse/core')['refAutoReset']
|
const readonly: typeof import('vue').readonly
|
||||||
const refDebounced: typeof import('@vueuse/core')['refDebounced']
|
const ref: typeof import('vue').ref
|
||||||
const refDefault: typeof import('@vueuse/core')['refDefault']
|
const refAutoReset: typeof import('@vueuse/core').refAutoReset
|
||||||
const refThrottled: typeof import('@vueuse/core')['refThrottled']
|
const refDebounced: typeof import('@vueuse/core').refDebounced
|
||||||
const refWithControl: typeof import('@vueuse/core')['refWithControl']
|
const refDefault: typeof import('@vueuse/core').refDefault
|
||||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
const refManualReset: typeof import('@vueuse/core').refManualReset
|
||||||
const resolveRef: typeof import('@vueuse/core')['resolveRef']
|
const refThrottled: typeof import('@vueuse/core').refThrottled
|
||||||
|
const refWithControl: typeof import('@vueuse/core').refWithControl
|
||||||
|
const resolveComponent: typeof import('vue').resolveComponent
|
||||||
|
const resolveRef: typeof import('@vueuse/core').resolveRef
|
||||||
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
|
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
|
||||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
const shallowReactive: typeof import('vue').shallowReactive
|
||||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
const shallowReadonly: typeof import('vue').shallowReadonly
|
||||||
const shallowRef: typeof import('vue')['shallowRef']
|
const shallowRef: typeof import('vue').shallowRef
|
||||||
const syncRef: typeof import('@vueuse/core')['syncRef']
|
const syncRef: typeof import('@vueuse/core').syncRef
|
||||||
const syncRefs: typeof import('@vueuse/core')['syncRefs']
|
const syncRefs: typeof import('@vueuse/core').syncRefs
|
||||||
const templateRef: typeof import('@vueuse/core')['templateRef']
|
const templateRef: typeof import('@vueuse/core').templateRef
|
||||||
const throttledRef: typeof import('@vueuse/core')['throttledRef']
|
const throttledRef: typeof import('@vueuse/core').throttledRef
|
||||||
const throttledWatch: typeof import('@vueuse/core')['throttledWatch']
|
const throttledWatch: typeof import('@vueuse/core').throttledWatch
|
||||||
const toRaw: typeof import('vue')['toRaw']
|
const toRaw: typeof import('vue').toRaw
|
||||||
const toReactive: typeof import('@vueuse/core')['toReactive']
|
const toReactive: typeof import('@vueuse/core').toReactive
|
||||||
const toRef: typeof import('vue')['toRef']
|
const toRef: typeof import('vue').toRef
|
||||||
const toRefs: typeof import('vue')['toRefs']
|
const toRefs: typeof import('vue').toRefs
|
||||||
const toValue: typeof import('vue')['toValue']
|
const toValue: typeof import('vue').toValue
|
||||||
const toggleDark: typeof import('./src/composables/dark')['toggleDark']
|
const toggleDark: typeof import('./src/composables/dark').toggleDark
|
||||||
const triggerRef: typeof import('vue')['triggerRef']
|
const triggerRef: typeof import('vue').triggerRef
|
||||||
const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount']
|
const tryOnBeforeMount: typeof import('@vueuse/core').tryOnBeforeMount
|
||||||
const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount']
|
const tryOnBeforeUnmount: typeof import('@vueuse/core').tryOnBeforeUnmount
|
||||||
const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted']
|
const tryOnMounted: typeof import('@vueuse/core').tryOnMounted
|
||||||
const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose']
|
const tryOnScopeDispose: typeof import('@vueuse/core').tryOnScopeDispose
|
||||||
const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted']
|
const tryOnUnmounted: typeof import('@vueuse/core').tryOnUnmounted
|
||||||
const unref: typeof import('vue')['unref']
|
const unref: typeof import('vue').unref
|
||||||
const unrefElement: typeof import('@vueuse/core')['unrefElement']
|
const unrefElement: typeof import('@vueuse/core').unrefElement
|
||||||
const until: typeof import('@vueuse/core')['until']
|
const until: typeof import('@vueuse/core').until
|
||||||
const useActiveElement: typeof import('@vueuse/core')['useActiveElement']
|
const useActiveElement: typeof import('@vueuse/core').useActiveElement
|
||||||
const useAnimate: typeof import('@vueuse/core')['useAnimate']
|
const useAnimate: typeof import('@vueuse/core').useAnimate
|
||||||
const useArrayDifference: typeof import('@vueuse/core')['useArrayDifference']
|
const useArrayDifference: typeof import('@vueuse/core').useArrayDifference
|
||||||
const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery']
|
const useArrayEvery: typeof import('@vueuse/core').useArrayEvery
|
||||||
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
|
const useArrayFilter: typeof import('@vueuse/core').useArrayFilter
|
||||||
const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
|
const useArrayFind: typeof import('@vueuse/core').useArrayFind
|
||||||
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
|
const useArrayFindIndex: typeof import('@vueuse/core').useArrayFindIndex
|
||||||
const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast']
|
const useArrayFindLast: typeof import('@vueuse/core').useArrayFindLast
|
||||||
const useArrayIncludes: typeof import('@vueuse/core')['useArrayIncludes']
|
const useArrayIncludes: typeof import('@vueuse/core').useArrayIncludes
|
||||||
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
|
const useArrayJoin: typeof import('@vueuse/core').useArrayJoin
|
||||||
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
|
const useArrayMap: typeof import('@vueuse/core').useArrayMap
|
||||||
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
|
const useArrayReduce: typeof import('@vueuse/core').useArrayReduce
|
||||||
const useArraySome: typeof import('@vueuse/core')['useArraySome']
|
const useArraySome: typeof import('@vueuse/core').useArraySome
|
||||||
const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique']
|
const useArrayUnique: typeof import('@vueuse/core').useArrayUnique
|
||||||
const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue']
|
const useAsyncQueue: typeof import('@vueuse/core').useAsyncQueue
|
||||||
const useAsyncState: typeof import('@vueuse/core')['useAsyncState']
|
const useAsyncState: typeof import('@vueuse/core').useAsyncState
|
||||||
const useAttrs: typeof import('vue')['useAttrs']
|
const useAttrs: typeof import('vue').useAttrs
|
||||||
const useBase64: typeof import('@vueuse/core')['useBase64']
|
const useBase64: typeof import('@vueuse/core').useBase64
|
||||||
const useBattery: typeof import('@vueuse/core')['useBattery']
|
const useBattery: typeof import('@vueuse/core').useBattery
|
||||||
const useBluetooth: typeof import('@vueuse/core')['useBluetooth']
|
const useBluetooth: typeof import('@vueuse/core').useBluetooth
|
||||||
const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints']
|
const useBreakpoints: typeof import('@vueuse/core').useBreakpoints
|
||||||
const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel']
|
const useBroadcastChannel: typeof import('@vueuse/core').useBroadcastChannel
|
||||||
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
|
const useBrowserLocation: typeof import('@vueuse/core').useBrowserLocation
|
||||||
const useCached: typeof import('@vueuse/core')['useCached']
|
const useCached: typeof import('@vueuse/core').useCached
|
||||||
const useClipboard: typeof import('@vueuse/core')['useClipboard']
|
const useClipboard: typeof import('@vueuse/core').useClipboard
|
||||||
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
|
const useClipboardItems: typeof import('@vueuse/core').useClipboardItems
|
||||||
const useCloned: typeof import('@vueuse/core')['useCloned']
|
const useCloned: typeof import('@vueuse/core').useCloned
|
||||||
const useColorMode: typeof import('@vueuse/core')['useColorMode']
|
const useColorMode: typeof import('@vueuse/core').useColorMode
|
||||||
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
|
const useConfirmDialog: typeof import('@vueuse/core').useConfirmDialog
|
||||||
const useCountdown: typeof import('@vueuse/core')['useCountdown']
|
const useCountdown: typeof import('@vueuse/core').useCountdown
|
||||||
const useCounter: typeof import('@vueuse/core')['useCounter']
|
const useCounter: typeof import('@vueuse/core').useCounter
|
||||||
const useCssModule: typeof import('vue')['useCssModule']
|
const useCssModule: typeof import('vue').useCssModule
|
||||||
const useCssVar: typeof import('@vueuse/core')['useCssVar']
|
const useCssSupports: typeof import('@vueuse/core').useCssSupports
|
||||||
const useCssVars: typeof import('vue')['useCssVars']
|
const useCssVar: typeof import('@vueuse/core').useCssVar
|
||||||
const useCurrentElement: typeof import('@vueuse/core')['useCurrentElement']
|
const useCssVars: typeof import('vue').useCssVars
|
||||||
const useCycleList: typeof import('@vueuse/core')['useCycleList']
|
const useCurrentElement: typeof import('@vueuse/core').useCurrentElement
|
||||||
const useDark: typeof import('@vueuse/core')['useDark']
|
const useCycleList: typeof import('@vueuse/core').useCycleList
|
||||||
const useDateFormat: typeof import('@vueuse/core')['useDateFormat']
|
const useDark: typeof import('@vueuse/core').useDark
|
||||||
const useDebounce: typeof import('@vueuse/core')['useDebounce']
|
const useDateFormat: typeof import('@vueuse/core').useDateFormat
|
||||||
const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn']
|
const useDebounce: typeof import('@vueuse/core').useDebounce
|
||||||
const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory']
|
const useDebounceFn: typeof import('@vueuse/core').useDebounceFn
|
||||||
const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion']
|
const useDebouncedRefHistory: typeof import('@vueuse/core').useDebouncedRefHistory
|
||||||
const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation']
|
const useDeviceMotion: typeof import('@vueuse/core').useDeviceMotion
|
||||||
const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio']
|
const useDeviceOrientation: typeof import('@vueuse/core').useDeviceOrientation
|
||||||
const useDevicesList: typeof import('@vueuse/core')['useDevicesList']
|
const useDevicePixelRatio: typeof import('@vueuse/core').useDevicePixelRatio
|
||||||
const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia']
|
const useDevicesList: typeof import('@vueuse/core').useDevicesList
|
||||||
const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility']
|
const useDisplayMedia: typeof import('@vueuse/core').useDisplayMedia
|
||||||
const useDraggable: typeof import('@vueuse/core')['useDraggable']
|
const useDocumentVisibility: typeof import('@vueuse/core').useDocumentVisibility
|
||||||
const useDropZone: typeof import('@vueuse/core')['useDropZone']
|
const useDraggable: typeof import('@vueuse/core').useDraggable
|
||||||
const useElementBounding: typeof import('@vueuse/core')['useElementBounding']
|
const useDropZone: typeof import('@vueuse/core').useDropZone
|
||||||
const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint']
|
const useElementBounding: typeof import('@vueuse/core').useElementBounding
|
||||||
const useElementHover: typeof import('@vueuse/core')['useElementHover']
|
const useElementByPoint: typeof import('@vueuse/core').useElementByPoint
|
||||||
const useElementSize: typeof import('@vueuse/core')['useElementSize']
|
const useElementHover: typeof import('@vueuse/core').useElementHover
|
||||||
const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility']
|
const useElementSize: typeof import('@vueuse/core').useElementSize
|
||||||
const useEventBus: typeof import('@vueuse/core')['useEventBus']
|
const useElementVisibility: typeof import('@vueuse/core').useElementVisibility
|
||||||
const useEventListener: typeof import('@vueuse/core')['useEventListener']
|
const useEventBus: typeof import('@vueuse/core').useEventBus
|
||||||
const useEventSource: typeof import('@vueuse/core')['useEventSource']
|
const useEventListener: typeof import('@vueuse/core').useEventListener
|
||||||
const useEyeDropper: typeof import('@vueuse/core')['useEyeDropper']
|
const useEventSource: typeof import('@vueuse/core').useEventSource
|
||||||
const useFavicon: typeof import('@vueuse/core')['useFavicon']
|
const useEyeDropper: typeof import('@vueuse/core').useEyeDropper
|
||||||
const useFetch: typeof import('@vueuse/core')['useFetch']
|
const useFavicon: typeof import('@vueuse/core').useFavicon
|
||||||
const useFileDialog: typeof import('@vueuse/core')['useFileDialog']
|
const useFetch: typeof import('@vueuse/core').useFetch
|
||||||
const useFileSystemAccess: typeof import('@vueuse/core')['useFileSystemAccess']
|
const useFileDialog: typeof import('@vueuse/core').useFileDialog
|
||||||
const useFocus: typeof import('@vueuse/core')['useFocus']
|
const useFileSystemAccess: typeof import('@vueuse/core').useFileSystemAccess
|
||||||
const useFocusWithin: typeof import('@vueuse/core')['useFocusWithin']
|
const useFocus: typeof import('@vueuse/core').useFocus
|
||||||
const useFps: typeof import('@vueuse/core')['useFps']
|
const useFocusWithin: typeof import('@vueuse/core').useFocusWithin
|
||||||
const useFullscreen: typeof import('@vueuse/core')['useFullscreen']
|
const useFps: typeof import('@vueuse/core').useFps
|
||||||
const useGamepad: typeof import('@vueuse/core')['useGamepad']
|
const useFullscreen: typeof import('@vueuse/core').useFullscreen
|
||||||
const useGeolocation: typeof import('@vueuse/core')['useGeolocation']
|
const useGamepad: typeof import('@vueuse/core').useGamepad
|
||||||
const useId: typeof import('vue')['useId']
|
const useGeolocation: typeof import('@vueuse/core').useGeolocation
|
||||||
const useIdle: typeof import('@vueuse/core')['useIdle']
|
const useId: typeof import('vue').useId
|
||||||
const useImage: typeof import('@vueuse/core')['useImage']
|
const useIdle: typeof import('@vueuse/core').useIdle
|
||||||
const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll']
|
const useImage: typeof import('@vueuse/core').useImage
|
||||||
const useIntersectionObserver: typeof import('@vueuse/core')['useIntersectionObserver']
|
const useInfiniteScroll: typeof import('@vueuse/core').useInfiniteScroll
|
||||||
const useInterval: typeof import('@vueuse/core')['useInterval']
|
const useIntersectionObserver: typeof import('@vueuse/core').useIntersectionObserver
|
||||||
const useIntervalFn: typeof import('@vueuse/core')['useIntervalFn']
|
const useInterval: typeof import('@vueuse/core').useInterval
|
||||||
const useKeyModifier: typeof import('@vueuse/core')['useKeyModifier']
|
const useIntervalFn: typeof import('@vueuse/core').useIntervalFn
|
||||||
const useLastChanged: typeof import('@vueuse/core')['useLastChanged']
|
const useKeyModifier: typeof import('@vueuse/core').useKeyModifier
|
||||||
const useLink: typeof import('vue-router/auto')['useLink']
|
const useLastChanged: typeof import('@vueuse/core').useLastChanged
|
||||||
const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage']
|
const useLink: typeof import('vue-router/auto').useLink
|
||||||
const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys']
|
const useLocalStorage: typeof import('@vueuse/core').useLocalStorage
|
||||||
const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory']
|
const useMagicKeys: typeof import('@vueuse/core').useMagicKeys
|
||||||
const useMediaControls: typeof import('@vueuse/core')['useMediaControls']
|
const useManualRefHistory: typeof import('@vueuse/core').useManualRefHistory
|
||||||
const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery']
|
const useMediaControls: typeof import('@vueuse/core').useMediaControls
|
||||||
const useMemoize: typeof import('@vueuse/core')['useMemoize']
|
const useMediaQuery: typeof import('@vueuse/core').useMediaQuery
|
||||||
const useMemory: typeof import('@vueuse/core')['useMemory']
|
const useMemoize: typeof import('@vueuse/core').useMemoize
|
||||||
const useModel: typeof import('vue')['useModel']
|
const useMemory: typeof import('@vueuse/core').useMemory
|
||||||
const useMounted: typeof import('@vueuse/core')['useMounted']
|
const useModel: typeof import('vue').useModel
|
||||||
const useMouse: typeof import('@vueuse/core')['useMouse']
|
const useMounted: typeof import('@vueuse/core').useMounted
|
||||||
const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement']
|
const useMouse: typeof import('@vueuse/core').useMouse
|
||||||
const useMousePressed: typeof import('@vueuse/core')['useMousePressed']
|
const useMouseInElement: typeof import('@vueuse/core').useMouseInElement
|
||||||
const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver']
|
const useMousePressed: typeof import('@vueuse/core').useMousePressed
|
||||||
const useNavigatorLanguage: typeof import('@vueuse/core')['useNavigatorLanguage']
|
const useMutationObserver: typeof import('@vueuse/core').useMutationObserver
|
||||||
const useNetwork: typeof import('@vueuse/core')['useNetwork']
|
const useNavigatorLanguage: typeof import('@vueuse/core').useNavigatorLanguage
|
||||||
const useNow: typeof import('@vueuse/core')['useNow']
|
const useNetwork: typeof import('@vueuse/core').useNetwork
|
||||||
const useObjectUrl: typeof import('@vueuse/core')['useObjectUrl']
|
const useNow: typeof import('@vueuse/core').useNow
|
||||||
const useOffsetPagination: typeof import('@vueuse/core')['useOffsetPagination']
|
const useObjectUrl: typeof import('@vueuse/core').useObjectUrl
|
||||||
const useOnline: typeof import('@vueuse/core')['useOnline']
|
const useOffsetPagination: typeof import('@vueuse/core').useOffsetPagination
|
||||||
const usePageLeave: typeof import('@vueuse/core')['usePageLeave']
|
const useOnline: typeof import('@vueuse/core').useOnline
|
||||||
const useParallax: typeof import('@vueuse/core')['useParallax']
|
const usePageLeave: typeof import('@vueuse/core').usePageLeave
|
||||||
const useParentElement: typeof import('@vueuse/core')['useParentElement']
|
const useParallax: typeof import('@vueuse/core').useParallax
|
||||||
const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver']
|
const useParentElement: typeof import('@vueuse/core').useParentElement
|
||||||
const usePermission: typeof import('@vueuse/core')['usePermission']
|
const usePerformanceObserver: typeof import('@vueuse/core').usePerformanceObserver
|
||||||
const usePointer: typeof import('@vueuse/core')['usePointer']
|
const usePermission: typeof import('@vueuse/core').usePermission
|
||||||
const usePointerLock: typeof import('@vueuse/core')['usePointerLock']
|
const usePointer: typeof import('@vueuse/core').usePointer
|
||||||
const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']
|
const usePointerLock: typeof import('@vueuse/core').usePointerLock
|
||||||
const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme']
|
const usePointerSwipe: typeof import('@vueuse/core').usePointerSwipe
|
||||||
const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast']
|
const usePreferredColorScheme: typeof import('@vueuse/core').usePreferredColorScheme
|
||||||
const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
|
const usePreferredContrast: typeof import('@vueuse/core').usePreferredContrast
|
||||||
const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
|
const usePreferredDark: typeof import('@vueuse/core').usePreferredDark
|
||||||
const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
|
const usePreferredLanguages: typeof import('@vueuse/core').usePreferredLanguages
|
||||||
const usePreferredReducedTransparency: typeof import('@vueuse/core')['usePreferredReducedTransparency']
|
const usePreferredReducedMotion: typeof import('@vueuse/core').usePreferredReducedMotion
|
||||||
const usePrevious: typeof import('@vueuse/core')['usePrevious']
|
const usePreferredReducedTransparency: typeof import('@vueuse/core').usePreferredReducedTransparency
|
||||||
const useRafFn: typeof import('@vueuse/core')['useRafFn']
|
const usePrevious: typeof import('@vueuse/core').usePrevious
|
||||||
const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
|
const useRafFn: typeof import('@vueuse/core').useRafFn
|
||||||
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
|
const useRefHistory: typeof import('@vueuse/core').useRefHistory
|
||||||
const useRoute: typeof import('vue-router')['useRoute']
|
const useResizeObserver: typeof import('@vueuse/core').useResizeObserver
|
||||||
const useRouter: typeof import('vue-router')['useRouter']
|
const useRoute: typeof import('vue-router').useRoute
|
||||||
const useSSRWidth: typeof import('@vueuse/core')['useSSRWidth']
|
const useRouter: typeof import('vue-router').useRouter
|
||||||
const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation']
|
const useSSRWidth: typeof import('@vueuse/core').useSSRWidth
|
||||||
const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea']
|
const useScreenOrientation: typeof import('@vueuse/core').useScreenOrientation
|
||||||
const useScriptTag: typeof import('@vueuse/core')['useScriptTag']
|
const useScreenSafeArea: typeof import('@vueuse/core').useScreenSafeArea
|
||||||
const useScroll: typeof import('@vueuse/core')['useScroll']
|
const useScriptTag: typeof import('@vueuse/core').useScriptTag
|
||||||
const useScrollLock: typeof import('@vueuse/core')['useScrollLock']
|
const useScroll: typeof import('@vueuse/core').useScroll
|
||||||
const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage']
|
const useScrollLock: typeof import('@vueuse/core').useScrollLock
|
||||||
const useShare: typeof import('@vueuse/core')['useShare']
|
const useSessionStorage: typeof import('@vueuse/core').useSessionStorage
|
||||||
const useSlots: typeof import('vue')['useSlots']
|
const useShare: typeof import('@vueuse/core').useShare
|
||||||
const useSorted: typeof import('@vueuse/core')['useSorted']
|
const useSlots: typeof import('vue').useSlots
|
||||||
const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition']
|
const useSorted: typeof import('@vueuse/core').useSorted
|
||||||
const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis']
|
const useSpeechRecognition: typeof import('@vueuse/core').useSpeechRecognition
|
||||||
const useStepper: typeof import('@vueuse/core')['useStepper']
|
const useSpeechSynthesis: typeof import('@vueuse/core').useSpeechSynthesis
|
||||||
const useStorage: typeof import('@vueuse/core')['useStorage']
|
const useStepper: typeof import('@vueuse/core').useStepper
|
||||||
const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync']
|
const useStorage: typeof import('@vueuse/core').useStorage
|
||||||
const useStyleTag: typeof import('@vueuse/core')['useStyleTag']
|
const useStorageAsync: typeof import('@vueuse/core').useStorageAsync
|
||||||
const useSupported: typeof import('@vueuse/core')['useSupported']
|
const useStyleTag: typeof import('@vueuse/core').useStyleTag
|
||||||
const useSwipe: typeof import('@vueuse/core')['useSwipe']
|
const useSupported: typeof import('@vueuse/core').useSupported
|
||||||
const useTemplateRef: typeof import('vue')['useTemplateRef']
|
const useSwipe: typeof import('@vueuse/core').useSwipe
|
||||||
const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList']
|
const useTemplateRef: typeof import('vue').useTemplateRef
|
||||||
const useTextDirection: typeof import('@vueuse/core')['useTextDirection']
|
const useTemplateRefsList: typeof import('@vueuse/core').useTemplateRefsList
|
||||||
const useTextSelection: typeof import('@vueuse/core')['useTextSelection']
|
const useTextDirection: typeof import('@vueuse/core').useTextDirection
|
||||||
const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize']
|
const useTextSelection: typeof import('@vueuse/core').useTextSelection
|
||||||
const useThrottle: typeof import('@vueuse/core')['useThrottle']
|
const useTextareaAutosize: typeof import('@vueuse/core').useTextareaAutosize
|
||||||
const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn']
|
const useThrottle: typeof import('@vueuse/core').useThrottle
|
||||||
const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory']
|
const useThrottleFn: typeof import('@vueuse/core').useThrottleFn
|
||||||
const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo']
|
const useThrottledRefHistory: typeof import('@vueuse/core').useThrottledRefHistory
|
||||||
const useTimeout: typeof import('@vueuse/core')['useTimeout']
|
const useTimeAgo: typeof import('@vueuse/core').useTimeAgo
|
||||||
const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn']
|
const useTimeAgoIntl: typeof import('@vueuse/core').useTimeAgoIntl
|
||||||
const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll']
|
const useTimeout: typeof import('@vueuse/core').useTimeout
|
||||||
const useTimestamp: typeof import('@vueuse/core')['useTimestamp']
|
const useTimeoutFn: typeof import('@vueuse/core').useTimeoutFn
|
||||||
const useTitle: typeof import('@vueuse/core')['useTitle']
|
const useTimeoutPoll: typeof import('@vueuse/core').useTimeoutPoll
|
||||||
const useToNumber: typeof import('@vueuse/core')['useToNumber']
|
const useTimestamp: typeof import('@vueuse/core').useTimestamp
|
||||||
const useToString: typeof import('@vueuse/core')['useToString']
|
const useTitle: typeof import('@vueuse/core').useTitle
|
||||||
const useToggle: typeof import('@vueuse/core')['useToggle']
|
const useToNumber: typeof import('@vueuse/core').useToNumber
|
||||||
const useTransition: typeof import('@vueuse/core')['useTransition']
|
const useToString: typeof import('@vueuse/core').useToString
|
||||||
const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams']
|
const useToggle: typeof import('@vueuse/core').useToggle
|
||||||
const useUserMedia: typeof import('@vueuse/core')['useUserMedia']
|
const useTransition: typeof import('@vueuse/core').useTransition
|
||||||
const useVModel: typeof import('@vueuse/core')['useVModel']
|
const useUrlSearchParams: typeof import('@vueuse/core').useUrlSearchParams
|
||||||
const useVModels: typeof import('@vueuse/core')['useVModels']
|
const useUserMedia: typeof import('@vueuse/core').useUserMedia
|
||||||
const useVibrate: typeof import('@vueuse/core')['useVibrate']
|
const useVModel: typeof import('@vueuse/core').useVModel
|
||||||
const useVirtualList: typeof import('@vueuse/core')['useVirtualList']
|
const useVModels: typeof import('@vueuse/core').useVModels
|
||||||
const useWakeLock: typeof import('@vueuse/core')['useWakeLock']
|
const useVibrate: typeof import('@vueuse/core').useVibrate
|
||||||
const useWebNotification: typeof import('@vueuse/core')['useWebNotification']
|
const useVirtualList: typeof import('@vueuse/core').useVirtualList
|
||||||
const useWebSocket: typeof import('@vueuse/core')['useWebSocket']
|
const useWakeLock: typeof import('@vueuse/core').useWakeLock
|
||||||
const useWebWorker: typeof import('@vueuse/core')['useWebWorker']
|
const useWebNotification: typeof import('@vueuse/core').useWebNotification
|
||||||
const useWebWorkerFn: typeof import('@vueuse/core')['useWebWorkerFn']
|
const useWebSocket: typeof import('@vueuse/core').useWebSocket
|
||||||
const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus']
|
const useWebWorker: typeof import('@vueuse/core').useWebWorker
|
||||||
const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll']
|
const useWebWorkerFn: typeof import('@vueuse/core').useWebWorkerFn
|
||||||
const useWindowSize: typeof import('@vueuse/core')['useWindowSize']
|
const useWindowFocus: typeof import('@vueuse/core').useWindowFocus
|
||||||
const watch: typeof import('vue')['watch']
|
const useWindowScroll: typeof import('@vueuse/core').useWindowScroll
|
||||||
const watchArray: typeof import('@vueuse/core')['watchArray']
|
const useWindowSize: typeof import('@vueuse/core').useWindowSize
|
||||||
const watchAtMost: typeof import('@vueuse/core')['watchAtMost']
|
const watch: typeof import('vue').watch
|
||||||
const watchDebounced: typeof import('@vueuse/core')['watchDebounced']
|
const watchArray: typeof import('@vueuse/core').watchArray
|
||||||
const watchDeep: typeof import('@vueuse/core')['watchDeep']
|
const watchAtMost: typeof import('@vueuse/core').watchAtMost
|
||||||
const watchEffect: typeof import('vue')['watchEffect']
|
const watchDebounced: typeof import('@vueuse/core').watchDebounced
|
||||||
const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable']
|
const watchDeep: typeof import('@vueuse/core').watchDeep
|
||||||
const watchImmediate: typeof import('@vueuse/core')['watchImmediate']
|
const watchEffect: typeof import('vue').watchEffect
|
||||||
const watchOnce: typeof import('@vueuse/core')['watchOnce']
|
const watchIgnorable: typeof import('@vueuse/core').watchIgnorable
|
||||||
const watchPausable: typeof import('@vueuse/core')['watchPausable']
|
const watchImmediate: typeof import('@vueuse/core').watchImmediate
|
||||||
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
const watchOnce: typeof import('@vueuse/core').watchOnce
|
||||||
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
const watchPausable: typeof import('@vueuse/core').watchPausable
|
||||||
const watchThrottled: typeof import('@vueuse/core')['watchThrottled']
|
const watchPostEffect: typeof import('vue').watchPostEffect
|
||||||
const watchTriggerable: typeof import('@vueuse/core')['watchTriggerable']
|
const watchSyncEffect: typeof import('vue').watchSyncEffect
|
||||||
const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
|
const watchThrottled: typeof import('@vueuse/core').watchThrottled
|
||||||
const whenever: typeof import('@vueuse/core')['whenever']
|
const watchTriggerable: typeof import('@vueuse/core').watchTriggerable
|
||||||
|
const watchWithFilter: typeof import('@vueuse/core').watchWithFilter
|
||||||
|
const whenever: typeof import('@vueuse/core').whenever
|
||||||
}
|
}
|
||||||
// for type re-export
|
// for type re-export
|
||||||
declare global {
|
declare global {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
||||||
import('vue')
|
import('vue')
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -335,11 +340,13 @@ declare module 'vue' {
|
|||||||
readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>
|
readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>
|
||||||
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
||||||
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
|
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
|
||||||
|
readonly definePage: UnwrapRef<typeof import('vue-router/experimental')['definePage']>
|
||||||
readonly eagerComputed: UnwrapRef<typeof import('@vueuse/core')['eagerComputed']>
|
readonly eagerComputed: UnwrapRef<typeof import('@vueuse/core')['eagerComputed']>
|
||||||
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
|
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
|
||||||
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
|
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
|
||||||
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
|
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
|
||||||
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
|
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
|
||||||
|
readonly getCurrentWatcher: UnwrapRef<typeof import('vue')['getCurrentWatcher']>
|
||||||
readonly h: UnwrapRef<typeof import('vue')['h']>
|
readonly h: UnwrapRef<typeof import('vue')['h']>
|
||||||
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
|
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
|
||||||
readonly inject: UnwrapRef<typeof import('vue')['inject']>
|
readonly inject: UnwrapRef<typeof import('vue')['inject']>
|
||||||
@@ -350,6 +357,7 @@ declare module 'vue' {
|
|||||||
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
|
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
|
||||||
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
|
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
|
||||||
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
||||||
|
readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>
|
||||||
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
|
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
|
||||||
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
|
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
|
||||||
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
|
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
|
||||||
@@ -388,11 +396,11 @@ declare module 'vue' {
|
|||||||
readonly refAutoReset: UnwrapRef<typeof import('@vueuse/core')['refAutoReset']>
|
readonly refAutoReset: UnwrapRef<typeof import('@vueuse/core')['refAutoReset']>
|
||||||
readonly refDebounced: UnwrapRef<typeof import('@vueuse/core')['refDebounced']>
|
readonly refDebounced: UnwrapRef<typeof import('@vueuse/core')['refDebounced']>
|
||||||
readonly refDefault: UnwrapRef<typeof import('@vueuse/core')['refDefault']>
|
readonly refDefault: UnwrapRef<typeof import('@vueuse/core')['refDefault']>
|
||||||
|
readonly refManualReset: UnwrapRef<typeof import('@vueuse/core')['refManualReset']>
|
||||||
readonly refThrottled: UnwrapRef<typeof import('@vueuse/core')['refThrottled']>
|
readonly refThrottled: UnwrapRef<typeof import('@vueuse/core')['refThrottled']>
|
||||||
readonly refWithControl: UnwrapRef<typeof import('@vueuse/core')['refWithControl']>
|
readonly refWithControl: UnwrapRef<typeof import('@vueuse/core')['refWithControl']>
|
||||||
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
||||||
readonly resolveRef: UnwrapRef<typeof import('@vueuse/core')['resolveRef']>
|
readonly resolveRef: UnwrapRef<typeof import('@vueuse/core')['resolveRef']>
|
||||||
readonly resolveUnref: UnwrapRef<typeof import('@vueuse/core')['resolveUnref']>
|
|
||||||
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
|
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
|
||||||
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
|
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
|
||||||
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
|
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
|
||||||
@@ -448,6 +456,7 @@ declare module 'vue' {
|
|||||||
readonly useCountdown: UnwrapRef<typeof import('@vueuse/core')['useCountdown']>
|
readonly useCountdown: UnwrapRef<typeof import('@vueuse/core')['useCountdown']>
|
||||||
readonly useCounter: UnwrapRef<typeof import('@vueuse/core')['useCounter']>
|
readonly useCounter: UnwrapRef<typeof import('@vueuse/core')['useCounter']>
|
||||||
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
|
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
|
||||||
|
readonly useCssSupports: UnwrapRef<typeof import('@vueuse/core')['useCssSupports']>
|
||||||
readonly useCssVar: UnwrapRef<typeof import('@vueuse/core')['useCssVar']>
|
readonly useCssVar: UnwrapRef<typeof import('@vueuse/core')['useCssVar']>
|
||||||
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
|
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
|
||||||
readonly useCurrentElement: UnwrapRef<typeof import('@vueuse/core')['useCurrentElement']>
|
readonly useCurrentElement: UnwrapRef<typeof import('@vueuse/core')['useCurrentElement']>
|
||||||
@@ -560,6 +569,7 @@ declare module 'vue' {
|
|||||||
readonly useThrottleFn: UnwrapRef<typeof import('@vueuse/core')['useThrottleFn']>
|
readonly useThrottleFn: UnwrapRef<typeof import('@vueuse/core')['useThrottleFn']>
|
||||||
readonly useThrottledRefHistory: UnwrapRef<typeof import('@vueuse/core')['useThrottledRefHistory']>
|
readonly useThrottledRefHistory: UnwrapRef<typeof import('@vueuse/core')['useThrottledRefHistory']>
|
||||||
readonly useTimeAgo: UnwrapRef<typeof import('@vueuse/core')['useTimeAgo']>
|
readonly useTimeAgo: UnwrapRef<typeof import('@vueuse/core')['useTimeAgo']>
|
||||||
|
readonly useTimeAgoIntl: UnwrapRef<typeof import('@vueuse/core')['useTimeAgoIntl']>
|
||||||
readonly useTimeout: UnwrapRef<typeof import('@vueuse/core')['useTimeout']>
|
readonly useTimeout: UnwrapRef<typeof import('@vueuse/core')['useTimeout']>
|
||||||
readonly useTimeoutFn: UnwrapRef<typeof import('@vueuse/core')['useTimeoutFn']>
|
readonly useTimeoutFn: UnwrapRef<typeof import('@vueuse/core')['useTimeoutFn']>
|
||||||
readonly useTimeoutPoll: UnwrapRef<typeof import('@vueuse/core')['useTimeoutPoll']>
|
readonly useTimeoutPoll: UnwrapRef<typeof import('@vueuse/core')['useTimeoutPoll']>
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,8 +1,11 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
|
// biome-ignore lint: disable
|
||||||
|
// oxlint-disable
|
||||||
|
// ------
|
||||||
// Generated by unplugin-vue-components
|
// Generated by unplugin-vue-components
|
||||||
// Read more: https://github.com/vuejs/core/pull/3399
|
// Read more: https://github.com/vuejs/core/pull/3399
|
||||||
// biome-ignore lint: disable
|
|
||||||
export {}
|
export {}
|
||||||
|
|
||||||
/* prettier-ignore */
|
/* prettier-ignore */
|
||||||
|
|||||||
+1
-2
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@10.12.1",
|
"packageManager": "pnpm@10.30.3",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"dev": "vite --port 3333 --open",
|
"dev": "vite --port 3333 --open",
|
||||||
@@ -36,7 +36,6 @@
|
|||||||
"unplugin-auto-import": "catalog:build",
|
"unplugin-auto-import": "catalog:build",
|
||||||
"unplugin-vue-components": "catalog:build",
|
"unplugin-vue-components": "catalog:build",
|
||||||
"unplugin-vue-macros": "catalog:build",
|
"unplugin-vue-macros": "catalog:build",
|
||||||
"unplugin-vue-router": "catalog:build",
|
|
||||||
"vite": "catalog:build",
|
"vite": "catalog:build",
|
||||||
"vitest": "catalog:dev",
|
"vitest": "catalog:dev",
|
||||||
"vue-tsc": "catalog:dev"
|
"vue-tsc": "catalog:dev"
|
||||||
|
|||||||
Generated
+2821
-2249
File diff suppressed because it is too large.
Load diff
+27
-24
@@ -1,34 +1,37 @@
|
|||||||
|
shellEmulator: true
|
||||||
|
|
||||||
|
trustPolicy: no-downgrade
|
||||||
|
|
||||||
packages: []
|
packages: []
|
||||||
catalogs:
|
catalogs:
|
||||||
build:
|
build:
|
||||||
'@iconify-json/carbon': ^1.2.9
|
'@iconify-json/carbon': ^1.2.19
|
||||||
'@vitejs/plugin-vue': ^5.2.4
|
'@vitejs/plugin-vue': ^6.0.4
|
||||||
jsdom: ^26.1.0
|
jsdom: ^28.1.0
|
||||||
unocss: ^66.2.0
|
unocss: ^66.6.2
|
||||||
unplugin: ^2.3.5
|
unplugin: ^3.0.0
|
||||||
unplugin-auto-import: ^19.3.0
|
unplugin-auto-import: ^21.0.0
|
||||||
unplugin-vue-components: ^28.7.0
|
unplugin-vue-components: ^31.0.0
|
||||||
unplugin-vue-macros: ^2.14.5
|
unplugin-vue-macros: ^2.14.5
|
||||||
unplugin-vue-router: ^0.12.0
|
vite: ^7.3.1
|
||||||
vite: ^6.3.5
|
|
||||||
dev:
|
dev:
|
||||||
'@antfu/eslint-config': ^4.14.1
|
'@antfu/eslint-config': ^7.6.1
|
||||||
'@types/node': ^22.15.31
|
'@types/node': ^25.3.3
|
||||||
'@unocss/eslint-plugin': ^66.2.0
|
'@unocss/eslint-plugin': ^66.6.3
|
||||||
'@vue-macros/volar': ^3.0.0-beta.14
|
'@vue-macros/volar': ^3.1.2
|
||||||
'@vue/test-utils': ^2.4.6
|
'@vue/test-utils': ^2.4.6
|
||||||
eslint: ^9.28.0
|
eslint: ^10.0.2
|
||||||
eslint-plugin-format: ^1.0.1
|
eslint-plugin-format: ^2.0.1
|
||||||
lint-staged: ^16.1.0
|
lint-staged: ^16.3.1
|
||||||
simple-git-hooks: ^2.13.0
|
simple-git-hooks: ^2.13.1
|
||||||
taze: ^19.1.0
|
taze: ^19.9.2
|
||||||
typescript: ^5.8.3
|
typescript: ^5.9.3
|
||||||
vitest: ^3.2.3
|
vitest: ^4.0.18
|
||||||
vue-tsc: ^2.2.10
|
vue-tsc: ^3.2.5
|
||||||
frontend:
|
frontend:
|
||||||
'@vueuse/core': ^13.3.0
|
'@vueuse/core': ^14.2.1
|
||||||
vue: ^3.5.16
|
vue: ^3.5.29
|
||||||
vue-router: ^4.5.1
|
vue-router: ^5.0.3
|
||||||
onlyBuiltDependencies:
|
onlyBuiltDependencies:
|
||||||
- esbuild
|
- esbuild
|
||||||
- simple-git-hooks
|
- simple-git-hooks
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
Routes will be auto-generated for Vue files in this dir with the same file structure.
|
Routes will be auto-generated for Vue files in this dir with the same file structure.
|
||||||
Check out [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) for more details.
|
Check out [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) for more details.
|
||||||
|
Now [`migrated`](https://github.com/vuejs/router/pull/2603) to [`vue router`](https://router.vuejs.org) for more details.
|
||||||
|
|
||||||
### Path Aliasing
|
### Path Aliasing
|
||||||
|
|
||||||
|
|||||||
Vendored
+95
@@ -0,0 +1,95 @@
|
|||||||
|
/* eslint-disable */
|
||||||
|
/* prettier-ignore */
|
||||||
|
// oxfmt-ignore
|
||||||
|
// @ts-nocheck
|
||||||
|
// noinspection ES6UnusedImports
|
||||||
|
// Generated by vue-router. !! DO NOT MODIFY THIS FILE !!
|
||||||
|
// It's recommended to commit this file.
|
||||||
|
// Make sure to add this file to your tsconfig.json file as an "includes" or "files" entry.
|
||||||
|
|
||||||
|
import type {
|
||||||
|
RouteRecordInfo,
|
||||||
|
ParamValue,
|
||||||
|
ParamValueOneOrMore,
|
||||||
|
ParamValueZeroOrMore,
|
||||||
|
ParamValueZeroOrOne,
|
||||||
|
} from 'vue-router'
|
||||||
|
|
||||||
|
declare module 'vue-router' {
|
||||||
|
interface TypesConfig {
|
||||||
|
ParamParsers: never
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
declare module 'vue-router/auto-routes' {
|
||||||
|
/**
|
||||||
|
* Route name map generated by vue-router
|
||||||
|
*/
|
||||||
|
export interface RouteNamedMap {
|
||||||
|
'/': RouteRecordInfo<
|
||||||
|
'/',
|
||||||
|
'/',
|
||||||
|
Record<never, never>,
|
||||||
|
Record<never, never>,
|
||||||
|
| never
|
||||||
|
>,
|
||||||
|
'/[...all]': RouteRecordInfo<
|
||||||
|
'/[...all]',
|
||||||
|
'/:all(.*)',
|
||||||
|
{ all: ParamValue<true> },
|
||||||
|
{ all: ParamValue<false> },
|
||||||
|
| never
|
||||||
|
>,
|
||||||
|
'/hi/[name]': RouteRecordInfo<
|
||||||
|
'/hi/[name]',
|
||||||
|
'/hi/:name',
|
||||||
|
{ name: ParamValue<true> },
|
||||||
|
{ name: ParamValue<false> },
|
||||||
|
| never
|
||||||
|
>,
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Route file to route info map by vue-router.
|
||||||
|
* Used by the \`sfc-typed-router\` Volar plugin to automatically type \`useRoute()\`.
|
||||||
|
*
|
||||||
|
* Each key is a file path relative to the project root with 2 properties:
|
||||||
|
* - routes: union of route names of the possible routes when in this page (passed to useRoute<...>())
|
||||||
|
* - views: names of nested views (can be passed to <RouterView name="...">)
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
export interface _RouteFileInfoMap {
|
||||||
|
'src/pages/index.vue': {
|
||||||
|
routes:
|
||||||
|
| '/'
|
||||||
|
views:
|
||||||
|
| never
|
||||||
|
}
|
||||||
|
'src/pages/[...all].vue': {
|
||||||
|
routes:
|
||||||
|
| '/[...all]'
|
||||||
|
views:
|
||||||
|
| never
|
||||||
|
}
|
||||||
|
'src/pages/hi/[name].vue': {
|
||||||
|
routes:
|
||||||
|
| '/hi/[name]'
|
||||||
|
views:
|
||||||
|
| never
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get a union of possible route names in a certain route component file.
|
||||||
|
* Used by the \`sfc-typed-router\` Volar plugin to automatically type \`useRoute()\`.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
export type _RouteNamesForFilePath<FilePath extends string> =
|
||||||
|
_RouteFileInfoMap extends Record<FilePath, infer Info>
|
||||||
|
? Info['routes']
|
||||||
|
: keyof RouteNamedMap
|
||||||
|
}
|
||||||
|
|
||||||
|
export {}
|
||||||
+16
-4
@@ -2,18 +2,22 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es2020",
|
"target": "es2020",
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"lib": ["DOM", "ESNext"],
|
"lib": [
|
||||||
|
"DOM",
|
||||||
|
"ESNext"
|
||||||
|
],
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"paths": {
|
"paths": {
|
||||||
"~/*": ["src/*"]
|
"~/*": [
|
||||||
|
"src/*"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"types": [
|
"types": [
|
||||||
"vite/client",
|
"vite/client",
|
||||||
"unplugin-vue-macros/macros-global",
|
"unplugin-vue-macros/macros-global"
|
||||||
"unplugin-vue-router/client"
|
|
||||||
],
|
],
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
@@ -24,6 +28,14 @@
|
|||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"skipLibCheck": true
|
"skipLibCheck": true
|
||||||
},
|
},
|
||||||
|
"include": [
|
||||||
|
"src/**/*.ts",
|
||||||
|
"src/**/*.d.ts",
|
||||||
|
"src/**/*.vue",
|
||||||
|
"auto-imports.d.ts",
|
||||||
|
"components.d.ts",
|
||||||
|
"shims.d.ts"
|
||||||
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"dist",
|
"dist",
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
|||||||
Vendored
-25
@@ -1,25 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* prettier-ignore */
|
|
||||||
// @ts-nocheck
|
|
||||||
// Generated by unplugin-vue-router. ‼️ DO NOT MODIFY THIS FILE ‼️
|
|
||||||
// It's recommended to commit this file.
|
|
||||||
// Make sure to add this file to your tsconfig.json file as an "includes" or "files" entry.
|
|
||||||
|
|
||||||
declare module 'vue-router/auto-routes' {
|
|
||||||
import type {
|
|
||||||
RouteRecordInfo,
|
|
||||||
ParamValue,
|
|
||||||
ParamValueOneOrMore,
|
|
||||||
ParamValueZeroOrMore,
|
|
||||||
ParamValueZeroOrOne,
|
|
||||||
} from 'vue-router'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Route name map generated by unplugin-vue-router
|
|
||||||
*/
|
|
||||||
export interface RouteNamedMap {
|
|
||||||
'/': RouteRecordInfo<'/', '/', Record<never, never>, Record<never, never>>,
|
|
||||||
'/[...all]': RouteRecordInfo<'/[...all]', '/:all(.*)', { all: ParamValue<true> }, { all: ParamValue<false> }>,
|
|
||||||
'/hi/[name]': RouteRecordInfo<'/hi/[name]', '/hi/:name', { name: ParamValue<true> }, { name: ParamValue<false> }>,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+7
-5
@@ -6,9 +6,9 @@ import UnoCSS from 'unocss/vite'
|
|||||||
import AutoImport from 'unplugin-auto-import/vite'
|
import AutoImport from 'unplugin-auto-import/vite'
|
||||||
import Components from 'unplugin-vue-components/vite'
|
import Components from 'unplugin-vue-components/vite'
|
||||||
import VueMacros from 'unplugin-vue-macros/vite'
|
import VueMacros from 'unplugin-vue-macros/vite'
|
||||||
import { VueRouterAutoImports } from 'unplugin-vue-router'
|
import { defineConfig } from 'vitest/config'
|
||||||
import VueRouter from 'unplugin-vue-router/vite'
|
import { VueRouterAutoImports } from 'vue-router/unplugin'
|
||||||
import { defineConfig } from 'vite'
|
import VueRouter from 'vue-router/vite'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
resolve: {
|
resolve: {
|
||||||
@@ -17,8 +17,10 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
// https://github.com/posva/unplugin-vue-router
|
// https://github.com/vuejs/router/pull/2603
|
||||||
VueRouter(),
|
VueRouter({
|
||||||
|
dts: 'src/typed-router.d.ts',
|
||||||
|
}),
|
||||||
|
|
||||||
VueMacros({
|
VueMacros({
|
||||||
defineOptions: false,
|
defineOptions: false,
|
||||||
|
|||||||
Reference in new issue
Block a user