mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
docs: fix dynamic routes template (#524)
This commit is contained in:
parent
4cd6d80448
commit
93e1f7be2d
@ -12,7 +12,7 @@ If you place anything within square brackets, it will be turned into a [dynamic
|
|||||||
-| pages/
|
-| pages/
|
||||||
---| index.vue
|
---| index.vue
|
||||||
---| users-[group]/
|
---| users-[group]/
|
||||||
-----| [userid].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/userid within your component via the `$route` object:
|
||||||
|
Loading…
Reference in New Issue
Block a user