[Vuejs]-Search Results Web results how to make 2 dependent http request in different components in vue

0👍

Let me see if I understand, do you want to make a session request and use the response in all components? This depends a lot on the structure of your project and its real objective, an alternative is to pass this data through inheritance from properties if this data is shared between parent and child components. if the data is shared between sister components or you need to use it in any application, I advise you to read the Vuex documentation. To perpetuate these sessions so they are not lost, you can also use localStorage to store the data.

Hope this helps.

Leave a comment