Axios-module: How to use $axios in another plugin

Created on 4 Mar 2019  路  4Comments  路  Source: nuxt-community/axios-module

Hi,
I read that $axios can be used in a custom plugin but I don't know how to do it ?
Have you got an example ?
Thanks in advance

This question is available on Nuxt community (#c215)
question

Most helpful comment

All 4 comments

This issue as been imported as question since it does not respect axios-module issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/axios-module/issues/c215.

Wondering the same thing.
Please let me know if you find out.

Further read: https://blog.lichter.io/posts/organize-and-decouple-your-api-calls-in-nuxtjs/

Hi thank you for the post. learned alot of new stuff and definitely usefull.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tebaly picture tebaly  路  3Comments

lsbyerley picture lsbyerley  路  4Comments

mclighter picture mclighter  路  3Comments

ruudboon picture ruudboon  路  5Comments

jb-alvarado picture jb-alvarado  路  3Comments