Static GitHub Issues

[290] Question about data access (resource/service)

prev: Not working with Docker
next: how to import `fs` inside ./store/index.js

Hi,

We are trying to change our angularjs infrastructure to vue and nuxt but i have a question about data access.

On angular we used to use resources to access and manipulate data like create user delete user etc.

But i read about vue-resource is not recommended way anymore, (actually i don't know exactly vue-resource and angular resource are the same)

So i saw some examples use vuex to access and manipulate data and in some components access the data with axios but i can't find about what is the best practice or suggested way.

Could you please help us?

Thank you.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c251">#c251</a>)</em></sub></div>