Skip to content

vue-router / createRouterMatcher

createRouterMatcher()

ts
function createRouterMatcher(routes, globalOptions): RouterMatcher;

Internal

Creates a Router Matcher.

Parameters

routes

readonly RouteRecordRaw[]

array of initial routes

globalOptions

PathParserOptions

global route options

Returns

RouterMatcher

Released under the MIT License.