- Build Angular
ng build
or using profile
ng build --configuration=production
ng build -c production
- install angular-http-server
npm install angular-http-server -g
- run in dist project local root directory
angular-http-server
- install http-server
npm install --global http-server
- build
npm run build
- run in local root directory
http-server