nuxt-community / axios-module

Secure and easy axios integration for Nuxt 2
https://axios.nuxtjs.org
MIT License
1.19k stars 245 forks source link

feat(plugin): support runtimeConfig #387

Closed SkyaTura closed 4 years ago

SkyaTura commented 4 years ago

This PR adds ctx.$config.axios to the plugin, which solves #386

codecov[bot] commented 4 years ago

Codecov Report

Merging #387 into dev will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               dev      #387   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           32        32           
  Branches        13        13           
=========================================
  Hits            32        32           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fc50e46...c2bc6d6. Read the comment docs.

pi0 commented 4 years ago

@SkyaTura Do you mind also updating the docs?

SkyaTura commented 4 years ago

Done @pi0

pi0 commented 4 years ago

Thanks @SkyaTura ❤️