docs: add explanatory comment before universal router stubs (#7124)

Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
HomWang 2022-09-01 17:07:44 +08:00 committed by GitHub
parent 24cf5da46c
commit cafc955fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ export default defineNuxtPlugin<{ route: Route, router: Router }>((nuxtApp) => {
const router: Router = {
currentRoute: route,
isReady: () => Promise.resolve(),
//
// These options provide a similar API to vue-router but have no effect
options: {},
install: () => Promise.resolve(),
// Navigation