You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: step-0/readme.md
+11
Original file line number
Diff line number
Diff line change
@@ -255,6 +255,17 @@ Lancez enfin la commande `npm start` et ouvrez la page `http://localhost:8080`.
255
255
256
256
Modifiez le code du composant `Wine` et observez les modifications en live dans votre navigateur !
257
257
258
+
### Attention
259
+
260
+
Si vous souhaitez travailler sur un environnement déporté, il sera nécessaire de pouvoir accéder au `webpack-dev-server` depuis l'exterieur.
261
+
Par défaut, `webpack-dev-server` n'écoute que `localhost`. Afin d'éviter ce comportement, vous pouvez spécifier sur quel host `webpack-dev-server` doit écouter. Changez le script `start` par :
262
+
263
+
```json
264
+
"scripts": {
265
+
"start": "webpack-dev-server -d --colors --inline --content-base public --host 0.0.0.0"
266
+
}
267
+
```
268
+
258
269
## ESLint
259
270
260
271
[ESLint](http://eslint.org/) est un outil qui permet d'analyser votre code Javascript selon un certains nombre de règles.
0 commit comments