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

docs: add a bit more detail in the definePageMeta warning to specify it needs to be in a page #8923

Merged
merged 2 commits into from Nov 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/nuxt/src/pages/runtime/composables.ts
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