Package Exports
- @nuxtjs/axios
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nuxtjs/axios) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@nuxtjs/axios
Features
- Automatically set base URL for client & server side
- Exposes
setTokenfunction to$axiosso we can easily and globally set authentication tokens - Automatically enables
withCredentialswhen requesting to base URL - Proxy request headers in SSR
- Fetch Style requests
- Integrated with Nuxt progress bar
- Integrated with Proxy Module
- Auto retry requests with axios-retry
Contributing
- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
📑 License
Copyright (c) Nuxt Community
