项目作者: nuxt-community

项目描述 :
Secure and easy axios integration with Nuxt.js
高级语言: JavaScript
项目地址: git://github.com/nuxt-community/axios-module.git
创建时间: 2017-08-13T11:20:04Z
项目社区:https://github.com/nuxt-community/axios-module

开源协议:MIT License

下载


@nuxtjs/axios

@nuxtjs/axios

@nuxtjs/axios"">npm version
@nuxtjs/axios"">npm downloads
Github Actions CI
Codecov
@nuxtjs/axios"">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