I created a new application with ng CLI, works like a charm:
ng new babysteps
cd babysteps
ng serve
ng serve uses webpack to assemble the app. To fully test it, I need to serve /api...
from my API mock server (specifically the POST requests). How can I customise the web server used, to redirect that one URL pattern?
The Webpack dev server has a proxy setting, but it seems (?) ng serve
doesn't have a config file (or I didn't get).
Do I need to create a webpack.config.js
or create/edit some other file to proxy ?