angular deploy


Build in watch mode
  ng build --watch
Serve it
  lite-server --baseDir="dist/project-name"
Build production app
  ng build --prod
Server deployment: nginx
  try_files $uri $uri/ /index.html;
Deploy to GitHub pages
  ng build --prod --output-path docs --base-href /<project_name>/

Angular Deployment