From 6007f13fd3183ff46eba4311942634d976ff0583 Mon Sep 17 00:00:00 2001 From: Minjie Xu Date: Wed, 17 Jul 2019 11:16:43 -0500 Subject: [PATCH] clarify the ng serve command arguments --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 024db7f..2c9793e 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,10 @@ https://medium.com/@juliapassynkova/angular-springboot-jwt-integration-p-1-800a3 Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. +Note: run the command below to make sure the port 4200 here talk to port 8080 for Spring Boot app. + +ng serve --proxy-config proxy.conf.json + ## Code scaffolding Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.