After creating the production build for an Angular project with
An easy way is to install this nodejs http-server. Then we can just run a simple command to serve the
2 ways to do so, either install it as a homebrew package or npm globally.
brew install http-server
http-server [path] [options]
npm install -g http-server
npx http-server [path] [options]
Lookup the npm site mentioned above for the options if you need, otherwise, it defaults to port 8080 on your localhost.