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 28
28
"nextTick" : true ,
29
29
"onActivated" : true ,
30
30
"onBeforeMount" : true ,
31
+ "onBeforeRouteLeave" : true ,
32
+ "onBeforeRouteUpdate" : true ,
31
33
"onBeforeUnmount" : true ,
32
34
"onBeforeUpdate" : true ,
33
35
"onDeactivated" : true ,
57
59
"useAttrs" : true ,
58
60
"useCssModule" : true ,
59
61
"useCssVars" : true ,
62
+ "useLink" : true ,
60
63
"useRoute" : true ,
61
64
"useRouter" : true ,
62
65
"useSlots" : true ,
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ declare global {
29
29
const nextTick : typeof import ( 'vue' ) [ 'nextTick' ]
30
30
const onActivated : typeof import ( 'vue' ) [ 'onActivated' ]
31
31
const onBeforeMount : typeof import ( 'vue' ) [ 'onBeforeMount' ]
32
+ const onBeforeRouteLeave : typeof import ( 'vue-router' ) [ 'onBeforeRouteLeave' ]
33
+ const onBeforeRouteUpdate : typeof import ( 'vue-router' ) [ 'onBeforeRouteUpdate' ]
32
34
const onBeforeUnmount : typeof import ( 'vue' ) [ 'onBeforeUnmount' ]
33
35
const onBeforeUpdate : typeof import ( 'vue' ) [ 'onBeforeUpdate' ]
34
36
const onDeactivated : typeof import ( 'vue' ) [ 'onDeactivated' ]
@@ -58,6 +60,7 @@ declare global {
58
60
const useAttrs : typeof import ( 'vue' ) [ 'useAttrs' ]
59
61
const useCssModule : typeof import ( 'vue' ) [ 'useCssModule' ]
60
62
const useCssVars : typeof import ( 'vue' ) [ 'useCssVars' ]
63
+ const useLink : typeof import ( 'vue-router' ) [ 'useLink' ]
61
64
const useRoute : typeof import ( 'vue-router' ) [ 'useRoute' ]
62
65
const useRouter : typeof import ( 'vue-router' ) [ 'useRouter' ]
63
66
const useSlots : typeof import ( 'vue' ) [ 'useSlots' ]
Original file line number Diff line number Diff line change 1
1
// generated by unplugin-vue-components
2
2
// 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
4
4
import '@vue/runtime-core'
5
5
6
+ export { }
7
+
6
8
declare module '@vue/runtime-core' {
7
9
export interface GlobalComponents {
8
10
Chart : typeof import ( './src/components/chart/index.vue' ) [ 'default' ]
@@ -16,5 +18,3 @@ declare module '@vue/runtime-core' {
16
18
VanTag : typeof import ( 'vant/es' ) [ 'Tag' ]
17
19
}
18
20
}
19
-
20
- export { }
Original file line number Diff line number Diff line change 63
63
"slash2" : " ^2.0.0" ,
64
64
"terser" : " ^5.14.2" ,
65
65
"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 " ,
68
68
"vite" : " ^3.0.0" ,
69
69
"vite-plugin-vconsole" : " ^1.2.2" ,
70
70
"vitest" : " ^0.22.0" ,
You can’t perform that action at this time.
0 commit comments