@nuxtjs/axios

Secure and easy Axios integration with Nuxt.js
5,218,239 1,184
Install
npm install @nuxtjs/axios
Latest Version:5.13.6
Older releases:2
License:MIT
Last Updated:Oct 13, 2026
Links: GitHub  ·  npm

@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

Related Packages

@nuxtjs/i18n

Internationalization for Nuxt

23,877,608 2,085
@nuxtjs/color-mode

Dark and light mode for Nuxt with auto detection

20,659,199 1,228
@nuxtjs/tailwindcss

Tailwind CSS module for Nuxt

16,852,917 1,868
@nuxtjs/sitemap

Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.

8,341,086 441
@nuxtjs/mdc

Nuxt MDC module

7,786,445 400

Version History

Version Released License
5.13.6 MIT
5.13.5 MIT
5.13.4 MIT
5.13.3 MIT
5.13.2 MIT
Pre-releases (5)
Version Released License
5.0.0-rc.2 MIT
5.0.0-rc.1 MIT
5.0.0-rc.0 MIT
5.0.0-alpha.1 MIT
5.0.0-alpha.0 MIT