mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
docs: add a bit more detail in the definePageMeta
warning to specify it needs to be in a page (#8923)
This commit is contained in:
parent
8c4ff5c585
commit
79d5634c69
@ -44,7 +44,7 @@ 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 ' +
|
||||
'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.'
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user