From 6c675ed5b38a2e9244d785064d087ab3b1c90d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=80=81=E4=BD=A0=E5=8D=81=E4=B8=83=E6=9D=9F=E8=8A=B1?= <108746194+030liuxinghao@users.noreply.github.com> Date: Sun, 8 Oct 2023 14:18:56 +0800 Subject: [PATCH] :bug: Fixed invalidation issues with eslint --- .eslintrc.json | 2 +- README.md | 6 +- auto-imports.d.ts | 6 -- index.html | 8 +++ package.json | 17 +++--- pnpm-lock.yaml | 143 +++++++++++++++++++++++++++++++++++++++++++- src/pages/index.vue | 6 +- typed-router.d.ts | 143 -------------------------------------------- 8 files changed, 165 insertions(+), 166 deletions(-) delete mode 100644 typed-router.d.ts diff --git a/.eslintrc.json b/.eslintrc.json index abfb881..58529e3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -6,4 +6,4 @@ "plugins": [ "@unocss" ] -} +} diff --git a/README.md b/README.md index 2b467a4..287662e 100644 --- a/README.md +++ b/README.md @@ -44,13 +44,13 @@ 克隆项目到本地: ``` bash -git clone https://github.com/ileostar/vue3-star.git +npx degit ileostar/vue-star 你的项目名称 ``` 进入项目目录: ``` bash -cd vue3-vite-ts-alova +cd 你的项目名称 ``` 安装依赖: @@ -63,7 +63,7 @@ pnpm install ``` bash -pnpm run dev +pnpm dev ``` 打开浏览器,访问 http://localhost:5173 即可查看项目运行效果。 diff --git a/auto-imports.d.ts b/auto-imports.d.ts index cc8dc23..0a07468 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -7,7 +7,6 @@ export {} declare global { const EffectScope: typeof import('vue')['EffectScope'] const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate'] - const alova: typeof import('useFetcher')['alova'] const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] const computed: typeof import('vue')['computed'] @@ -32,8 +31,6 @@ declare global { const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch'] const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] const defineComponent: typeof import('vue')['defineComponent'] - const defineLoader: typeof import('vue-router/auto')['defineLoader'] - const definePage: typeof import('unplugin-vue-router/runtime')['_definePage'] const defineStore: typeof import('pinia')['defineStore'] const eagerComputed: typeof import('@vueuse/core')['eagerComputed'] const effectScope: typeof import('vue')['effectScope'] @@ -100,7 +97,6 @@ declare global { const shallowReactive: typeof import('vue')['shallowReactive'] const shallowReadonly: typeof import('vue')['shallowReadonly'] const shallowRef: typeof import('vue')['shallowRef'] - const shimsD: typeof import('./shims.d')['default'] const storeToRefs: typeof import('pinia')['storeToRefs'] const syncRef: typeof import('@vueuse/core')['syncRef'] const syncRefs: typeof import('@vueuse/core')['syncRefs'] @@ -119,7 +115,6 @@ declare global { const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted'] const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose'] const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted'] - const unoConfig: typeof import('./uno.config')['default'] const unref: typeof import('vue')['unref'] const unrefElement: typeof import('@vueuse/core')['unrefElement'] const until: typeof import('@vueuse/core')['until'] @@ -287,7 +282,6 @@ declare global { const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus'] const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll'] const useWindowSize: typeof import('@vueuse/core')['useWindowSize'] - const viteConfig: typeof import('./vite.config')['default'] const watch: typeof import('vue')['watch'] const watchArray: typeof import('@vueuse/core')['watchArray'] const watchAtMost: typeof import('@vueuse/core')['watchAtMost'] diff --git a/index.html b/index.html index 3508514..257a75d 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,14 @@
+