0👍
In my opinion, you have three options:
- Like @lmarqs said you could use vuex, but it’s slightly overkilling if that’s the only use case.
- So you could use Custom Events, like @ittus explained it here, he also linked this tutorial.
- Or you use the router to build a url like
yoururl.com/table/ELEMENT-ID
and than you grab this id in the component and make a new request to your api (not a very good solution)
Source:stackexchange.com