Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

readme.md

Setup

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

Install

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.