mirror of https://github.com/sundowndev/http.git
54cda7e1c3
* docs: add notice about lack of support for ie11 * Update readme.md Co-authored-by: pooya parsa <pyapar@gmail.com> |
||
---|---|---|
.. | ||
advanced.md | ||
migration.md | ||
readme.md | ||
usage.md |
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.
::: warning Note that this module does not currently support IE 11 because of using ky (open issue) :::