0👍
You can indeed create 2 components. 1 component having a list of all the stations. another component displaying the details of the radio station.
The moment you click a station in the list, it sends an event and updates a property in the vue.app. This could for example be called selectedStation.
your component that shows the detail of the radiostation just receives a prop with the details of the station.
- [Vuejs]-Search input using a query using Vuex and Axios
- [Vuejs]-Laravel jsonb columns encoded as string in javascript object
Source:stackexchange.com