mirror of https://github.com/sundowndev/http.git
docs: update setup
parent
5d342d3918
commit
2a0161a7c1
|
@ -25,8 +25,8 @@ npm install @nuxt/http
|
||||||
|
|
||||||
Add a `http` object to your **nuxt.config.js** to configure global options which will be applied to all requests
|
Add a `http` object to your **nuxt.config.js** to configure global options which will be applied to all requests
|
||||||
|
|
||||||
```js
|
```js{}[nuxt.config.js]
|
||||||
module.exports = {
|
export default {
|
||||||
modules: [
|
modules: [
|
||||||
'@nuxt/http',
|
'@nuxt/http',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue