@hokify/axios-module
v5.6.1
Published
Secure and easy axios integration with Nuxt.js
Downloads
4
Readme
📦 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
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
📑 License
Copyright (c) Nuxt Community