To test your Angular build locally:
- Build your app:
ng build --prod
- Install http-server for serving the app:
npm i -g http-server
- cd (change directory) into the the build location and run the app with:
http-server
- Open http-server url appending /index.html to it, should look something like this
http://127.0.0.1:8080/index.html
๐