Add go, push, replace methods to router
zachlankton opened this issue · comments
{
go: //method, Traverses history in a given direction.
push: //metjod Navigates to a location. In the case of an HTML5 History implementation, this will call history.pushState to effectively change the URL,
replace: //method, Same as push but performs a history.replaceState instead of history.pushState
}
We can use Vue router as a reference for these methods https://router.vuejs.org/api/interfaces/RouterHistory.html#go