mirror of https://github.com/sundowndev/http.git
09a5382778 | ||
---|---|---|
.circleci | ||
.github | ||
docs | ||
lib | ||
test | ||
types | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitbook.yaml | ||
.gitignore | ||
LICENSE | ||
README.md | ||
babel.config.js | ||
commitlint.config.js | ||
husky.config.js | ||
jest.config.js | ||
package.json | ||
renovate.json | ||
yarn.lock |
README.md
📦 HTTP Module
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
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
📑 License
Copyright (c) Nuxt.js Team