An open API service indexing awesome lists of open source software.

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

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
```