https://github.com/trilonio/angular-universal-tutorial
Google web.dev companion Repo: Angular Universal (SSR) Tutorial for Dyamic & Static pre-rendering
https://github.com/trilonio/angular-universal-tutorial
Last synced: 12 months ago
JSON representation
Google web.dev companion Repo: Angular Universal (SSR) Tutorial for Dyamic & Static pre-rendering
- Host: GitHub
- URL: https://github.com/trilonio/angular-universal-tutorial
- Owner: TrilonIO
- Created: 2019-06-24T20:24:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T06:41:44.000Z (about 3 years ago)
- Last Synced: 2025-03-25T04:41:45.531Z (12 months ago)
- Language: TypeScript
- Homepage: https://web.dev/angular
- Size: 2.45 MB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AngularUniversalTutorial
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.3.
## Angular Universal Dynamic Rendering
```
npm run build:ssr && npm run serve:ssr
```
Open up http://localhost:4000
## Angular Universal Static Pre-Rendering
> Before you begin:
- Switch branches `git checkout feat/prerender`
- `npm install`
Generate/pre-render static routes, and test/demo locally via http-server (for demo purposes)
```
npm run build:prerender && npm run serve:prerender
```