We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ec733 commit 27fd630Copy full SHA for 27fd630
docs/en/essentials/passing-props.md
@@ -27,6 +27,13 @@ const User = {
27
const router = new VueRouter({
28
routes: [
29
{ path: '/user/:id', component: User, props: true }
30
+
31
+ // for routes with named views, you have to define the props option for each named view:
32
+ {
33
+ path: '/user/:id',
34
+ components: { default: User, sidebar: Sidebar },
35
+ props: { default: true, sidebar: false }
36
+ }
37
]
38
})
39
```
0 commit comments