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
1 changed files with 1 additions and 1 deletions

View File

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