Permalink
f638dfe Sep 21, 2018
1 contributor

Users who have contributed to this file

31 lines (17 sloc) 910 Bytes

📦 Axios Module

Secure and Easy Axios integration with Nuxt.js.

Features

✓ Automatically set base URL for client & server side

✓ Exposes setToken function to $axios so we can easily and globally set authentication tokens

✓ Automatically enables withCredentials when requesting to base URL

✓ Proxy request headers in SSR (Useful for auth)

✓ Fetch Style requests

✓ Integrated with Nuxt.js Progressbar while making requests

✓ Integrated with Proxy Module

✓ Auto retry requests with axios-retry

Links

👉 To get started head to Setup section.