diff --git a/packages/nuxt/src/pages/runtime/plugins/router.ts b/packages/nuxt/src/pages/runtime/plugins/router.ts index 2423207ddd..bb41746480 100644 --- a/packages/nuxt/src/pages/runtime/plugins/router.ts +++ b/packages/nuxt/src/pages/runtime/plugins/router.ts @@ -251,8 +251,8 @@ const plugin: Plugin<{ router: Router }> = defineNuxtPlugin({ fatal: false, statusMessage: `Page not found: ${to.fullPath}`, data: { - path: to.fullPath - } + path: to.fullPath, + }, }))) } })