Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theideasaler/angular-prerender
This repo shows how to prerender Angular app into static HTML files.
https://github.com/theideasaler/angular-prerender
angular aws aws-s3 javascript prerender
Last synced: 21 days ago
JSON representation
This repo shows how to prerender Angular app into static HTML files.
- Host: GitHub
- URL: https://github.com/theideasaler/angular-prerender
- Owner: theideasaler
- Created: 2019-10-29T03:36:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T17:57:56.000Z (almost 2 years ago)
- Last Synced: 2024-12-06T17:52:20.130Z (about 1 month ago)
- Topics: angular, aws, aws-s3, javascript, prerender
- Language: TypeScript
- Size: 2.73 MB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Prerender
This project was generated with [Angular CLI](https://github.com/angular/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](https://levelup.gitconnected.com/prerender-angular-and-deploy-it-as-a-static-website-on-aws-s3-to-make-it-42-times-faster-115fadcf8614) to configure your AWS S3, CloudFront and Router 53.