File tree Expand file tree Collapse file tree 5 files changed +120
-116
lines changed Expand file tree Collapse file tree 5 files changed +120
-116
lines changed Original file line number Diff line number Diff line change 2828 "nextTick" : true ,
2929 "onActivated" : true ,
3030 "onBeforeMount" : true ,
31+ "onBeforeRouteLeave" : true ,
32+ "onBeforeRouteUpdate" : true ,
3133 "onBeforeUnmount" : true ,
3234 "onBeforeUpdate" : true ,
3335 "onDeactivated" : true ,
5759 "useAttrs" : true ,
5860 "useCssModule" : true ,
5961 "useCssVars" : true ,
62+ "useLink" : true ,
6063 "useRoute" : true ,
6164 "useRouter" : true ,
6265 "useSlots" : true ,
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ declare global {
2929 const nextTick : typeof import ( 'vue' ) [ 'nextTick' ]
3030 const onActivated : typeof import ( 'vue' ) [ 'onActivated' ]
3131 const onBeforeMount : typeof import ( 'vue' ) [ 'onBeforeMount' ]
32+ const onBeforeRouteLeave : typeof import ( 'vue-router' ) [ 'onBeforeRouteLeave' ]
33+ const onBeforeRouteUpdate : typeof import ( 'vue-router' ) [ 'onBeforeRouteUpdate' ]
3234 const onBeforeUnmount : typeof import ( 'vue' ) [ 'onBeforeUnmount' ]
3335 const onBeforeUpdate : typeof import ( 'vue' ) [ 'onBeforeUpdate' ]
3436 const onDeactivated : typeof import ( 'vue' ) [ 'onDeactivated' ]
@@ -58,6 +60,7 @@ declare global {
5860 const useAttrs : typeof import ( 'vue' ) [ 'useAttrs' ]
5961 const useCssModule : typeof import ( 'vue' ) [ 'useCssModule' ]
6062 const useCssVars : typeof import ( 'vue' ) [ 'useCssVars' ]
63+ const useLink : typeof import ( 'vue-router' ) [ 'useLink' ]
6164 const useRoute : typeof import ( 'vue-router' ) [ 'useRoute' ]
6265 const useRouter : typeof import ( 'vue-router' ) [ 'useRouter' ]
6366 const useSlots : typeof import ( 'vue' ) [ 'useSlots' ]
Original file line number Diff line number Diff line change 11// generated by unplugin-vue-components
22// We suggest you to commit this file into source control
3- // Read more: https://github.com/vuejs/vue-next /pull/3399
3+ // Read more: https://github.com/vuejs/core /pull/3399
44import '@vue/runtime-core'
55
6+ export { }
7+
68declare module '@vue/runtime-core' {
79 export interface GlobalComponents {
810 Chart : typeof import ( './src/components/chart/index.vue' ) [ 'default' ]
@@ -16,5 +18,3 @@ declare module '@vue/runtime-core' {
1618 VanTag : typeof import ( 'vant/es' ) [ 'Tag' ]
1719 }
1820}
19-
20- export { }
Original file line number Diff line number Diff line change 6363 "slash2" : " ^2.0.0" ,
6464 "terser" : " ^5.14.2" ,
6565 "typescript" : " ^4.7.4" ,
66- "unplugin-auto-import" : " ^0.9.2 " ,
67- "unplugin-vue-components" : " ^0.19.6 " ,
66+ "unplugin-auto-import" : " ^0.11.3 " ,
67+ "unplugin-vue-components" : " ^0.22.9 " ,
6868 "vite" : " ^3.0.0" ,
6969 "vite-plugin-vconsole" : " ^1.2.2" ,
7070 "vitest" : " ^0.22.0" ,
You can’t perform that action at this time.
0 commit comments