Browse Source

chore(nuxt): upd

曾志翔 3 years ago
parent
commit
cf68a904ef
2 changed files with 2 additions and 17 deletions
  1. 2 0
      .gitignore
  2. 0 17
      components.d.ts

+ 2 - 0
.gitignore

@@ -88,3 +88,5 @@ sw.*
 
 
 # Vim swap files
 # Vim swap files
 *.swp
 *.swp
+components.d.ts
+.vscode/

+ 0 - 17
components.d.ts

@@ -1,17 +0,0 @@
-// generated by unplugin-vue-components
-// We suggest you to commit this file into source control
-// Read more: https://github.com/vuejs/vue-next/pull/3399
-import '@vue/runtime-core'
-
-declare module '@vue/runtime-core' {
-  export interface GlobalComponents {
-    RouterLink: typeof import('vue-router')['RouterLink']
-    RouterView: typeof import('vue-router')['RouterView']
-    VanButton: typeof import('vant/es')['Button']
-    VanIcon: typeof import('vant/es')['Icon']
-    VanImage: typeof import('vant/es')['Image']
-    VantButton: typeof import('vant/es')['tButton']
-  }
-}
-
-export {}