mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
docs: add explanation with augmented meta for new routes (#18901)
This commit is contained in:
parent
9845467421
commit
0b2bce406b
@ -369,6 +369,10 @@ export default <RouterConfig> {
|
||||
}
|
||||
```
|
||||
|
||||
::alert
|
||||
Nuxt will not augment any new routes you return from the `routes` function with metadata defined in `definePageMeta` of the component you provide. If you want that to happen, you should probably use the `pages:extend` hook which is [called at build-time](/docs/api/advanced/hooks#nuxt-hooks-build-time).
|
||||
::
|
||||
|
||||
#### Custom History (advanced)
|
||||
|
||||
You can optionally override history mode using a function that accepts base url and returns history mode.
|
||||
|
Loading…
Reference in New Issue
Block a user