Regarding #1527 and #1531, and the changelog for 4.1.4, @posva has commented several times on this but I'm left confused because the online docs still suggest this approach for passing in component props with router.push. None of the alternatives suggested in the changelog indicate how we can pass params directly to component props when a route is defined thus:
Antipattern or not, the vue router docs indicate that the old approach still works, and I can't see another way to pass props in with routes defined with boolean props: true. Am I missing something here?
Regarding #1527 and #1531, and the changelog for 4.1.4, @posva has commented several times on this but I'm left confused because the online docs still suggest this approach for passing in component props with router.push. None of the alternatives suggested in the changelog indicate how we can pass params directly to component props when a route is defined thus:
With component LoginScreen.vue defined:
And I want to route to the component and pass in
aProp
along the lines ofAntipattern or not, the vue router docs indicate that the old approach still works, and I can't see another way to pass props in with routes defined with boolean
props: true
. Am I missing something here?