http/docs/guide
Sébastien Chopin e37358f5b2 feat: add create helper and improve docs 2020-04-13 21:09:04 +02:00
..
advanced.md feat: add create helper and improve docs 2020-04-13 21:09:04 +02:00
migration.md feat: add create helper and improve docs 2020-04-13 21:09:04 +02:00
readme.md feat: add create helper and improve docs 2020-04-13 21:09:04 +02:00
usage.md docs: fix link and wording (#76) 2019-10-21 14:27:44 +02:00

readme.md

Setup

Check the Nuxt.js documentation for more information about installing and using modules in Nuxt.js

Installation

Install with yarn:

yarn add @nuxt/http

Install with npm:

npm install @nuxt/http

Configure

Add a http object to your nuxt.config.js to configure global options which will be applied to all requests

module.exports = {
  modules: [
    '@nuxt/http',
  ],

  http: {
    // proxyHeaders: false
  }
}

See http's options.