Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Angular Universal starter with server side rendering in Hapiness

Notifications You must be signed in to change notification settings

hapinessjs/ng-universal-example

Repository files navigation

Hapiness

NG-Universal & Anguar-CLI minimal starter

This demo is built following the NG-Universal & Anguar-CLI guide


Installation

$ yarn install

Development (Client-side only rendering)

run yarn run start which will start ng serve (project served at the standard: localhost:4200)


Production

run yarn run build:dynamic. All of the files that need to be served will be found within the /dist folder.


Testing Universal builds -Locally-

yarn run serve:dynamic

Compiles your application and spins up a Hapiness application to dynamically serve your Universal application on http://localhost:4000.