Best practice to store API end points
In nuxt2 I used Axios and store my end points under example :
api.js:
and I use it inside pages like this:
index.js:
What's the best way to store and use API endpoints in nuxt3?
thank you.
api.js:
and I use it inside pages like this:
index.js:
What's the best way to store and use API endpoints in nuxt3?
thank you.