Browse Source

perf: 打包优化

曾坤森 3 months ago
parent
commit
fb63602374
1 changed files with 3 additions and 5 deletions
  1. 3 5
      components.d.ts

+ 3 - 5
components.d.ts

@@ -1,13 +1,11 @@
 /* eslint-disable */
-/* prettier-ignore */
 // @ts-nocheck
 // Generated by unplugin-vue-components
 // Read more: https://github.com/vuejs/core/pull/3399
-import '@vue/runtime-core'
-
-export {}
+export {};
 
-declare module '@vue/runtime-core' {
+/* prettier-ignore */
+declare module 'vue' {
   export interface GlobalComponents {
     RouterLink: typeof import('vue-router')['RouterLink']
     RouterView: typeof import('vue-router')['RouterView']