NG-Universal & Anguar-CLI minimal starter
October 23, 2017 ยท View on GitHub
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.