Answer the question
In order to leave comments, you need to log in
Passing input parameters to a component, how to implement?
Hello! There is a button on the component, when the button is clicked:
<v-btn :to="{ path: '/field_of_activity', props: { messageId: 1}}">+</v-btn>
Answer the question
In order to leave comments, you need to log in
:to="{ path: '/field_of_activity', props: { messageId: 1}}"
props: route => ({ ...route.query })
. props: route => ({ ...route.query, ...route.params })
On the side of the component, the parameter is specified in props?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question