Answer the question
In order to leave comments, you need to log in
How to transfer the necessary data depending on the router?
How to correctly implement the data in such a situation. On the screen: There can be many such dice. Now this is an array of state and everything looks nice, there may be more or less of them. The problem is that you can click on each plate and go, say, to the project (that is, each plate has data inside )
The transition was made by id:
router-link(:to="`/project/${project.id}`" :project="project" v-for="project in item.projects" :key="project.title")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question