http/README.md

1.9 KiB
Executable File

📦 HTTP Module

npm version npm downloads Circle CI Codecov Dependencies Standard JS

TODO

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)

✓ Integrated with Nuxt.js Progressbar while making requests (TODO)

✓ Integrated with Proxy Module

✓ Auto retry requests

📖 Read Documentation (TODO)

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.js Team