Correct the RouteResolver.onmatch() signature (#1327)

This commit is contained in:
Pierre-Yves Gérardy 2016-09-21 04:44:19 +02:00 committed by Pat Cavit
parent 78409431b9
commit 67433a7816

View file

@ -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
--------------- | --------------------- | ---