From 67433a78161d5dad87afb75e69d6369883164708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Yves=20G=C3=A9rardy?= Date: Wed, 21 Sep 2016 04:44:19 +0200 Subject: [PATCH] Correct the RouteResolver.onmatch() signature (#1327) --- docs/route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/route.md b/docs/route.md index 30d31a11..c8428b98 100644 --- a/docs/route.md +++ b/docs/route.md @@ -92,7 +92,7 @@ The `onmatch` hook is called when the router needs to find a component to render This method also allows you to asynchronously define what component will be rendered, making it suitable for code splitting and asynchronous module loading. -`routeResolver.onmatch(vnode, resolve)` +`routeResolver.onmatch(resolve, args, requestedPath)` Argument | Type | Description --------------- | --------------------- | ---