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

https://github.com/dockleryxk/angular-universal-prerender-firebase-seed

Just another Angular Universal Seed
https://github.com/dockleryxk/angular-universal-prerender-firebase-seed

angular angular-cli angular-universal firebase firebase-functions

Last synced: about 1 year ago
JSON representation

Just another Angular Universal Seed

Awesome Lists containing this project

README

          

# AngularUniversalPrerenderFirebaseSeed

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.3.2.

[Live Demo](https://angular-universal-prerender.firebaseapp.com)

## Features

- Firebase
- Angular Universal
- Angular Material
- Prerendering for crawlers only, users get sent to non-server side rendered app
- Lazy loading

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

Run `npm run server` for a dev server for Angular Universal.

To force a server side render, add `?_escaped_fragment_=` to the end of the url.

## Code scaffolding

Run `ng generate component component-name --module app.module` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `npm run build.server` or `npm run build.server.prod` to compile code for Angular Universal.