Skip to content

vue-router / routerKey

routerKey

ts
const routerKey: InjectionKey<Router>;

Internal

Allows overriding the router instance returned by useRouter in tests. r stands for router

Released under the MIT License.