router
{ router : {} | [] | true }
Injects a fake $route and $router object into the component using the mock vuenit.router.
{
router : true
}
...is the equivalent of...
{
inject : vuenit.router()
}
You can also provide a router configuration object:
{
router : ['/', '/users', '/users/:userId']
}