Skip to content

API DocumentationDocs


API Documentation / createRouterMatcher

Function: createRouterMatcher()

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.