-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
For the sake of the code sharing experience, it would be great that:
- The internal object created in the Vue instance was
$router - The
$navigator.navigate(to, options)method would be$router.push(to, options) $router.replace(to)would be implemented as the current$navigator.navigate(to, {clearhistory: true})$router.go(-1)would be implemented as the current$navigator.back()
If this was refactored, the basic navigation could be shared for mobile and web. And this would be an excellent starting point for a better vue-router integration with other non-web implementations.
CoreyKaylor, alukos, gregreindel, TemaSM, Ot92 and 1 more
Metadata
Metadata
Assignees
Labels
No labels