nuxt-community / axios-module

Secure and easy axios integration for Nuxt 2

Home Page:https://axios.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@nuxtjs/axios

@nuxtjs/axios

npm version npm downloads Github Actions CI Codecov License

Secure and easy Axios integration for Nuxt 2.

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

About

Secure and easy axios integration for Nuxt 2

https://axios.nuxtjs.org

License:MIT License


Languages

Language:JavaScript 84.4%Language:Vue 15.6%