@nuxtjs/axios
TypeScript icon, indicating that this package has built-in type declarations

5.13.6 • Public • Published

@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

/@nuxtjs/axios/

    Package Sidebar

    Install

    npm i @nuxtjs/axios

    Weekly Downloads

    195,370

    Version

    5.13.6

    License

    MIT

    Unpacked Size

    17.1 kB

    Total Files

    7

    Last publish

    Collaborators

    • antfu
    • danielroe
    • clarkdo
    • pi0
    • atinux
    • alexchopin