Skip to content

danielroe/axios-module

 
 

Repository files navigation

📦 Axios Module

npm version npm downloads Circle CI Codecov Dependencies Standard JS

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

📖 Read Documentation

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

📑 License

MIT License

Copyright (c) Nuxt Community

About

Secure and easy axios integration with Nuxt.js

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages

  • JavaScript 90.5%
  • Vue 9.5%