Universal HTTP Module for Nuxt.js
 
 
Go to file
Sébastien Chopin a6f21956ac
docs: try ts for syntax highlight
2021-01-20 11:59:32 +01:00
.github chore(deps): update actions/setup-node action to v2 (#157) 2020-12-18 09:44:29 +01:00
docs docs: try ts for syntax highlight 2021-01-20 11:59:32 +01:00
ky-universal fix(ky-universal): server importing es bundle (#121) 2020-08-20 20:51:07 +02:00
lib Removed duplicated lines ;-) (#145) 2020-11-22 12:59:36 +01:00
test test: fix fixture 2020-12-23 11:19:31 +01:00
types fix(types): add missing types for `create` and `setBaseURL` (#122) 2020-08-21 12:51:38 +02:00
.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
.gitignore refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
CHANGELOG.md chore(release): 0.6.2 2020-12-23 11:19:43 +01:00
LICENSE refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
README.md docs: add examples http methods (#150) 2020-12-02 13:57:47 +01:00
jest.config.js refactor(package): update module (#206) 2019-02-09 17:34:47 +03:30
netlify.toml docs: migrate from vuepress to nuxt content (#133) 2020-10-09 12:11:26 +02:00
package.json chore(release): 0.6.2 2020-12-23 11:19:43 +01:00
renovate.json chore: configure renovate (#181) 2018-11-25 02:29:23 +03:30
yarn.lock chore: update yarn.lock 2020-12-23 11:16:01 +01:00

README.md

@nuxt/http

Nuxt HTTP

npm version npm downloads Github Actions CI Codecov License Standard JS

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

📖  Read more

Development

  1. Clone this repository
  2. Install dependencies using yarn install
  3. Start development server using yarn dev
  4. Then go for instance to http://localhost:3000/mounted

📖 Contribute to the documentation

  1. Go into the docs folder
  2. Install dependencies using yarn install
  3. Start development server using yarn dev

📑 License

MIT License

Copyright (c) Nuxt.js Team