push

$router.push('/documents')

Pushes a new route to the router. This will update the current route object. The push method can accept either a string path, or a configuration object:

$router.push('/my/new/path');
$router.push({ path : '/users/bob', query : {}, hash : 'myid' });
$router.push({ name : 'my-named-route' });

results matching ""

    No results matching ""