Awesome Open Source
Awesome Open Source

@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


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (68,063
hacktoberfest (4,217
api (1,616
proxy (523
ssr (298
axios (237
nuxt (216
backend (207
request (80
nuxt-module (70
token (55
interceptor (45

Find Open Source By Browsing 7,000 Topics Across 59 Categories