Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs: add a bit more detail in the definePageMeta warning to specif…
Browse files Browse the repository at this point in the history
…y it needs to be in a page (#8923)
  • Loading branch information
acidjazz authored Nov 14, 2022
1 parent 8c4ff5c commit 79d5634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nuxt/src/pages/runtime/composables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79d5634

Please sign in to comment.