Closed ahnpnl closed 2 years ago
onBeforeRouteEnter()
doesn't exist, it's not possible to implement such guard with the composition api.
onBeforeRouteEnter()
doesn't exist, it's not possible to implement such guard with the composition api.
hello,may I get a case to put beforeRouteEnter into Githubissues.
What problem does this feature solve?
Current the documentation about composition API https://router.vuejs.org/guide/advanced/navigation-guards.html#using-the-composition-api doesn't mention about
onBeforeRouteEnter
. I see inOptions API
, there isbeforeRouteEnter
hence there should be one for composition API too.What does the proposed API look like?