diff --git a/packages/nuxt/src/pages/runtime/composables.ts b/packages/nuxt/src/pages/runtime/composables.ts index 740fb991f5..71cead02fb 100644 --- a/packages/nuxt/src/pages/runtime/composables.ts +++ b/packages/nuxt/src/pages/runtime/composables.ts @@ -44,8 +44,8 @@ declare module 'vue-router' { const warnRuntimeUsage = (method: string) => console.warn( `${method}() is a compiler-hint helper that is only usable inside ` + - 'the script block of a single file component. Its arguments should be ' + - 'compiled away and passing it at runtime has no effect.' + 'the script block of a single file component which is also a page. Its arguments should be ' + + 'compiled away and passing it at runtime has no effect.' ) // eslint-disable-next-line @typescript-eslint/no-unused-vars