This project was generated with Angular CLI version 6.2.2.
Run npm run serve:prerender
to servre your static files locally. Navigate to http://localhost:8082/
. The app will automatically loaded if you routes between pages.
Run npm run build:prerender
to build the project. The build artifacts will be stored in the dist/static
directory.
Copy files inside dist/
folder to your AWS S3 bucket, and follow this tutorial Prerender Angular to configure your AWS S3, CloudFront and Router 53.