In the programmatic navigation, it's possible to navigate through the routers, adding them to the browser history with the $router.push function, but there are other functions that can be used too.
The $router.replace function will replace the user navigation history for a new one, making it unable to go back to the last page.
$router.go is used to move the user navigation history in steps. To go forward, you need to pass positive numbers and to go backward, you will need to pass negative numbers.