mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
docs: fix typo on directory-structure/pages (#7601)
This commit is contained in:
parent
1ebdef77a6
commit
43d1eac09d
@ -327,7 +327,7 @@ Learn more about [`<NuxtLink>`](/api/components/nuxt-link) usage.
|
|||||||
|
|
||||||
## Router Options
|
## Router Options
|
||||||
|
|
||||||
It is possible to cutomize [vue-router options](https://router.vuejs.org/api/interfaces/routeroptions.html).
|
It is possible to customize [vue-router options](https://router.vuejs.org/api/interfaces/routeroptions.html).
|
||||||
|
|
||||||
### Using `app/router.options`
|
### Using `app/router.options`
|
||||||
|
|
||||||
@ -343,7 +343,7 @@ export default <RouterOptions> {
|
|||||||
|
|
||||||
#### Custom Routes
|
#### Custom Routes
|
||||||
|
|
||||||
:StabilityEdge{title="custom routes"}
|
:StabilityEdge{title="Custom Routes"}
|
||||||
|
|
||||||
You can optionally override routes using a function that accepts scanned routes and returns customized routes.
|
You can optionally override routes using a function that accepts scanned routes and returns customized routes.
|
||||||
If returning `null` or `undefined`, Nuxt will fallback to the default routes. (useful to modify input array)
|
If returning `null` or `undefined`, Nuxt will fallback to the default routes. (useful to modify input array)
|
||||||
@ -365,7 +365,7 @@ export default <RouterOptions> {
|
|||||||
|
|
||||||
#### Custom History (advanced)
|
#### Custom History (advanced)
|
||||||
|
|
||||||
:StabilityEdge{title="custom history"}
|
:StabilityEdge{title="Custom History"}
|
||||||
|
|
||||||
You can optionally override history mode using a function that accepts base url and returns history mode.
|
You can optionally override history mode using a function that accepts base url and returns history mode.
|
||||||
If returning `null` or `undefined`, Nuxt will fallback to the default history.
|
If returning `null` or `undefined`, Nuxt will fallback to the default history.
|
||||||
@ -402,7 +402,7 @@ export default defineNuxtConfig({
|
|||||||
|
|
||||||
### Hash Mode (SPA)
|
### Hash Mode (SPA)
|
||||||
|
|
||||||
:StabilityEdge{title="hash mode"}
|
:StabilityEdge{title="Hash Mode"}
|
||||||
|
|
||||||
You can enable hash history in SPA mode. In this mode, router uses a hash character (#) before the actual URL that is internally passed. When enabled, the **URL is never sent to the server** and **SSR is not supported**.
|
You can enable hash history in SPA mode. In this mode, router uses a hash character (#) before the actual URL that is internally passed. When enabled, the **URL is never sent to the server** and **SSR is not supported**.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user