Universal HTTP Module for Nuxt.js
 
 
Go to file
pooya parsa 61fb627477 feat: http class 2019-03-19 00:08:46 +03:30
.circleci Update config.yml 2019-02-15 16:41:24 +03:30
.github chore: fix issue template 2019-03-09 10:35:58 +01:00
docs chore: migrate meta to nuxt/http 2019-03-18 21:19:29 +03:30
lib feat: http class 2019-03-19 00:08:46 +03:30
test feat: http class 2019-03-19 00:08:46 +03:30
types fix(types): correct Vuex Store instance (#227) 2019-03-05 12:18:39 +03:30
.editorconfig moved from nuxt-community/modules 2017-08-13 15:52:10 +04:30
.eslintignore refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
.eslintrc.js refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
.gitbook.yaml update .gitbook.yaml 2018-09-21 16:31:06 +04:30
.gitignore refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
LICENSE refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
README.md chore: migrate meta to nuxt/http 2019-03-18 21:19:29 +03:30
babel.config.js refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
commitlint.config.js refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
husky.config.js refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
jest.config.js refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
package.json chore: migrate deps 2019-03-18 21:39:46 +03:30
renovate.json chore: configure renovate (#181) 2018-11-25 02:29:23 +03:30
yarn.lock chore: migrate deps 2019-03-18 21:39:46 +03:30

README.md

📦 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