history

$router.history // []

The history property is an array of all visited routes. Each array element is a $route object. The history array is used by the navigation methods. Unlike the real vue-router, navigating in the mock router does not use the browser API or update the url, it simply updates the history array.

results matching ""

    No results matching ""