Skip to content

hokify/nuxt-haxios-module

Repository files navigation

@nuxtjs/axios

@hokify/nuxt-haxios-module

drop in replacement for @nuxtjs/axios module which uses haxios (based on gaxios) behind the scene (beware: minimum support version of node changed to 14)

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

About

nuxt haxios module (replacment for nuxt axios module)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published