[Vuejs]-How to reuse data obtained by axios calls between VueJS components?

3👍

You say that you don’t want to use Vuex, but why not? I would recommend you use the Vuex store to achieve what you’re looking for. A vuex store will cache/hold information in it, meaning that you can easily access it on a different page. Vuex would solve your problem and allow you make a call once, and later access the data. No need to re-invent the wheel, it’s an effective way to achieve what you need.

0👍

If you really don’t wanna use Vuex, there’re always solutions like nedb, but I’d strongly recommend Vuex.

Leave a comment