mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
docs: add explanatory comment before universal router stubs (#7124)
Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
24cf5da46c
commit
cafc955fb8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user