diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index a7398dd..288f2a1 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -201,6 +201,7 @@ declare global { const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme'] const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark'] const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages'] + const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion'] const useRafFn: typeof import('@vueuse/core')['useRafFn'] const useRefHistory: typeof import('@vueuse/core')['useRefHistory'] const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver'] @@ -235,6 +236,8 @@ declare global { const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll'] const useTimestamp: typeof import('@vueuse/core')['useTimestamp'] const useTitle: typeof import('@vueuse/core')['useTitle'] + const useToNumber: typeof import('@vueuse/core')['useToNumber'] + const useToString: typeof import('@vueuse/core')['useToString'] const useToggle: typeof import('@vueuse/core')['useToggle'] const useTransition: typeof import('@vueuse/core')['useTransition'] const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams'] @@ -471,6 +474,7 @@ declare module '@vue/runtime-core' { readonly usePreferredColorScheme: UnwrapRef readonly usePreferredDark: UnwrapRef readonly usePreferredLanguages: UnwrapRef + readonly usePreferredReducedMotion: UnwrapRef readonly useRafFn: UnwrapRef readonly useRefHistory: UnwrapRef readonly useResizeObserver: UnwrapRef @@ -505,6 +509,8 @@ declare module '@vue/runtime-core' { readonly useTimeoutPoll: UnwrapRef readonly useTimestamp: UnwrapRef readonly useTitle: UnwrapRef + readonly useToNumber: UnwrapRef + readonly useToString: UnwrapRef readonly useToggle: UnwrapRef readonly useTransition: UnwrapRef readonly useUrlSearchParams: UnwrapRef diff --git a/vite.config.ts b/vite.config.ts index 1097f32..204b907 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -8,7 +8,7 @@ import Components from 'unplugin-vue-components/vite' import AutoImport from 'unplugin-auto-import/vite' import Markdown from 'vite-plugin-vue-markdown' import { VitePWA } from 'vite-plugin-pwa' -import VueI18n from '@intlify/vite-plugin-vue-i18n' +import { vueI18n as VueI18n } from '@intlify/vite-plugin-vue-i18n' import Inspect from 'vite-plugin-inspect' import LinkAttributes from 'markdown-it-link-attributes' import Unocss from 'unocss/vite'