Fix the markdown table of custom-route README

This commit is contained in:
Thibault Deutsch 2016-11-16 23:06:29 +01:00 committed by GitHub
parent a98e6d4e9b
commit 7b4e72c82a

View File

@ -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. |