Axios Module for Nuxt 2

JSON →
library 0.28.1 ·javascript maintenance
verified Jun 7, 2026

@nuxtjs/axios is a Nuxt 2 module that integrates Axios HTTP client seamlessly into Nuxt applications. Current stable version is 0.28.1, with a maintenance-only release cadence. It automatically sets base URLs for client and server, exposes $axios instance with setToken helper, enables withCredentials for same-origin requests, proxies SSR headers, integrates with Nuxt progress bar and proxy module, and supports auto-retries via axios-retry. Key differentiator: designed specifically for Nuxt 2, not compatible with Nuxt 3. Ships TypeScript types. Recommended for Nuxt 2 projects needing secure HTTP calls.