From 38aae55e3e655bec376c8c12e7e5278652dae62f Mon Sep 17 00:00:00 2001 From: HomWang Date: Wed, 31 Aug 2022 16:55:16 +0800 Subject: [PATCH 1/3] Modify index --- .../3.directory-structure/{18.package.md => 19.package.md} | 0 .../3.directory-structure/{19.tsconfig.md => 20.tsconfig.md} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename docs/content/2.guide/3.directory-structure/{18.package.md => 19.package.md} (100%) rename docs/content/2.guide/3.directory-structure/{19.tsconfig.md => 20.tsconfig.md} (100%) diff --git a/docs/content/2.guide/3.directory-structure/18.package.md b/docs/content/2.guide/3.directory-structure/19.package.md similarity index 100% rename from docs/content/2.guide/3.directory-structure/18.package.md rename to docs/content/2.guide/3.directory-structure/19.package.md diff --git a/docs/content/2.guide/3.directory-structure/19.tsconfig.md b/docs/content/2.guide/3.directory-structure/20.tsconfig.md similarity index 100% rename from docs/content/2.guide/3.directory-structure/19.tsconfig.md rename to docs/content/2.guide/3.directory-structure/20.tsconfig.md From 4bd41597bb4d382b78c03fda4c89207ea944ca52 Mon Sep 17 00:00:00 2001 From: HomWang Date: Thu, 1 Sep 2022 11:16:04 +0800 Subject: [PATCH 2/3] Add option link --- packages/nuxt/src/app/plugins/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt/src/app/plugins/router.ts b/packages/nuxt/src/app/plugins/router.ts index 64bf5d50a6c..15de52f219f 100644 --- a/packages/nuxt/src/app/plugins/router.ts +++ b/packages/nuxt/src/app/plugins/router.ts @@ -154,7 +154,7 @@ export default defineNuxtPlugin<{ route: Route, router: Router }>((nuxtApp) => { const router: Router = { currentRoute: route, isReady: () => Promise.resolve(), - // + // https://router.vuejs.org/api/interfaces/routeroptions.html options: {}, install: () => Promise.resolve(), // Navigation From 6d464ff712aa2991626ad61286fcc5370d035e27 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 1 Sep 2022 10:05:54 +0100 Subject: [PATCH 3/3] docs: add comment --- packages/nuxt/src/app/plugins/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt/src/app/plugins/router.ts b/packages/nuxt/src/app/plugins/router.ts index 15de52f219f..46ed26c2898 100644 --- a/packages/nuxt/src/app/plugins/router.ts +++ b/packages/nuxt/src/app/plugins/router.ts @@ -154,7 +154,7 @@ export default defineNuxtPlugin<{ route: Route, router: Router }>((nuxtApp) => { const router: Router = { currentRoute: route, isReady: () => Promise.resolve(), - // https://router.vuejs.org/api/interfaces/routeroptions.html + // These options provide a similar API to vue-router but have no effect options: {}, install: () => Promise.resolve(), // Navigation