mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
docs: fix dynamic routes (#525)
This commit is contained in:
parent
93e1f7be2d
commit
2c82c27960
@ -15,7 +15,7 @@ If you place anything within square brackets, it will be turned into a [dynamic
|
|||||||
-----| [id].vue
|
-----| [id].vue
|
||||||
```
|
```
|
||||||
|
|
||||||
Given the example above, you can access group/userid within your component via the `$route` object:
|
Given the example above, you can access group/id within your component via the `$route` object:
|
||||||
|
|
||||||
```vue
|
```vue
|
||||||
<template>
|
<template>
|
||||||
|
Loading…
Reference in New Issue
Block a user