Skip to content

vue-router / createRouter

createRouter()

ts
function createRouter(options): _RouterClassic;

Creates a Router instance that can be used by a Vue app.

Parameters

options

RouterOptions

RouterOptions

Returns

_RouterClassic

Released under the MIT License.