How to serve Angular locally over HTTPS
Angular has a convenient launcher to serve your app during development (ng serve
).
It watches for file changes and automatically reloads saving time.
By default it serves over HTTP but to avoid issues with mixing HTTP
and HTTPS content, you might want to run the local development server
using SSL to serve over HTTPS. This will cover how to use ng serve
and npm run start
to include SSL certificates to use HTTPS.