chidindu-ogbonna / axios-module

Secure and easy axios integration with Nuxt.js

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“¦ Axios Module

npm version npm downloads Circle CI Codecov Dependencies Standard JS

Secure and Easy Axios integration with Nuxt.js

βœ… 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 (Useful for auth)

βœ“ Fetch Style requests

βœ“ Integrated with Nuxt.js Progressbar while making requests

βœ“ Integrated with Proxy Module

βœ“ Auto retry requests with axios-retry

πŸ“– Read Documentation

Development

  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 with Nuxt.js

https://axios.nuxtjs.org

License:MIT License


Languages

Language:JavaScript 90.5%Language:Vue 9.5%