mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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/
|
||||
---| index.vue
|
||||
---| users-[group]/
|
||||
-----| [userid].vue
|
||||
-----| [id].vue
|
||||
```
|
||||
|
||||
Given the example above, you can access group/userid within your component via the `$route` object:
|
||||
|
Loading…
Reference in New Issue
Block a user