drop in replacement for @nuxtjs/axios module which uses haxios (based on gaxios) behind the scene (beware: minimum support version of node changed to 14)
- 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
- Fetch Style requests
- Integrated with Nuxt progress bar
- Integrated with Proxy Module
- Auto retry requests with axios-retry
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Copyright (c) Nuxt Community