@nuxt/http

Universal HTTP Module for Nuxt.js

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@nuxt/http
224440.6.43 years ago5 years agoMinified + gzip package size for @nuxt/http in KB

Readme

@nuxt/http
Nuxt HTTP
!npm versionnpm-version-srcnpm-version-href !npm downloadsnpm-downloads-srcnpm-downloads-href !Github Actions CIgithub-actions-ci-srcgithub-actions-ci-href !Codecovcodecov-srccodecov-href !Licenselicense-srclicense-href !Standard JSstandard-js-srcstandard-js-href
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