@nuxtjs/axios

Secure and easy Axios integration with Nuxt.js

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
1,03853Jun 14, 2021Aug 13, 2017Minified + gzip package size for @nuxtjs/axios in KB

Readme

@nuxtjs/axios

@nuxtjs/axios

npm version npm downloads Github Actions CI Codecov License

Secure and easy Axios integration for Nuxt.

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
  • Fetch Style requests
  • Integrated with Nuxt progress bar
  • Integrated with Proxy Module
  • Auto retry requests with axios-retry

📖  Read more

Contributing

  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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.