Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 11823f6

Browse files
committed
Translate faq/host-and-port
1 parent 82b4c4f commit 11823f6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

fr/faq/host-port.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: HOST et PORT
3+
description: Comment changer HOST et PORT avec Nuxt.js?
4+
---
5+
6+
# Comment changer HOST et PORT?
7+
8+
Vous pouvez configurer le PORT de deux façons:
9+
- Via une variable d'environnement
10+
```js
11+
"scripts": {
12+
"dev": "HOST=0.0.0.0 PORT=3333 nuxt"
13+
}
14+
```
15+
- Via la configuration nuxt dans `package.json`:
16+
```js
17+
"config": {
18+
"nuxt": {
19+
"host": "0.0.0.0",
20+
"port": "3333"
21+
}
22+
},
23+
"scripts": {
24+
"dev": "nuxt"
25+
}
26+
```

0 commit comments

Comments
 (0)