mirror of https://github.com/sundowndev/http.git
4890592755
* docs(readme): add contribute section * docs: fix breaking links & alert tip to info * docs: add examples for each http methods * feat: add index example in fixture * docs: update usage * docs: add examples for hooks & helpers * test: add test on index page * docs: improvements * docs(hooks): feedback improvment * docs: add examples into usage * chore: remove resolves and example from head Co-authored-by: Sébastien Chopin <seb@nuxtjs.com> Co-authored-by: Pooya Parsa <pyapar@gmail.com> |
||
---|---|---|
.github | ||
docs | ||
ky-universal | ||
lib | ||
test | ||
types | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
jest.config.js | ||
netlify.toml | ||
package.json | ||
renovate.json | ||
yarn.lock |
README.md
Nuxt HTTP
HTTP module for Nuxt with a universal way to make HTTP requests to the API backend.
Features
- The fluent ky API has been extended with enhancements and shortcuts
- Highly customizable options support for BaseURL
- Automatically proxy cookies and headers when making requests from server side
- Best practices to avoid token sharing when making server side requests
- Easy proxy support to avoid CORS problems and making deployment easier
Development
- Clone this repository
- Install dependencies using
yarn install
- Start development server using
yarn dev
- Then go for instance to
http://localhost:3000/mounted
📖 Contribute to the documentation
- Go into the docs folder
- Install dependencies using
yarn install
- Start development server using
yarn dev
📑 License
Copyright (c) Nuxt.js Team