Skip to content

Commit

Permalink
feat: update vue-router preset (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
WalkAlone0325 committed Sep 23, 2022
1 parent c1c9752 commit 2c37ab8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/presets/vue-router.ts
Expand Up @@ -4,5 +4,8 @@ export default <ImportsMap>({
'vue-router': [
'useRouter',
'useRoute',
'useLink',
'onBeforeRouteLeave',
'onBeforeRouteUpdate'
],
})

0 comments on commit 2c37ab8

Please sign in to comment.