Skip to content

This repo shows how to prerender Angular app into static HTML files.

Notifications You must be signed in to change notification settings

theideasaler/angular-prerender

Repository files navigation

Angular Prerender

This project was generated with Angular CLI version 6.2.2.

Development server

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.

Build

Run npm run build:prerender to build the project. The build artifacts will be stored in the dist/static directory.

Deployment

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.

About

This repo shows how to prerender Angular app into static HTML files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published