mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
Fix the markdown table of custom-route README
This commit is contained in:
parent
a98e6d4e9b
commit
7b4e72c82a
@ -16,7 +16,7 @@ module.exports = {
|
|||||||
```
|
```
|
||||||
|
|
||||||
| key | Optional? | definition |
|
| key | Optional? | definition |
|
||||||
|------|------------|
|
|------|-----------|------------|
|
||||||
| `path` | **Required** | Route path, it can have dynamic mapping, look at [vue-router documentation](https://router.vuejs.org/en/essentials/dynamic-matching.html) about it. |
|
| `path` | **Required** | Route path, it can have dynamic mapping, look at [vue-router documentation](https://router.vuejs.org/en/essentials/dynamic-matching.html) about it. |
|
||||||
| `component` | **Required** | Path to the `.vue` component, if relative, it has to be from the app folder. |
|
| `component` | **Required** | Path to the `.vue` component, if relative, it has to be from the app folder. |
|
||||||
| `name` | Optional | Route name, useful for linking to it with `<router-link>`, see [vue-router documentation](https://router.vuejs.org/en/essentials/named-routes.html) about it. |
|
| `name` | Optional | Route name, useful for linking to it with `<router-link>`, see [vue-router documentation](https://router.vuejs.org/en/essentials/named-routes.html) about it. |
|
||||||
|
Loading…
Reference in New Issue
Block a user