hapinessjs / ng-universal-example

Angular Universal starter with server side rendering in Hapiness

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Angular Universal starter with server side rendering in Hapiness


Languages

Language:TypeScript 79.0%Language:JavaScript 11.7%Language:HTML 7.8%Language:CSS 1.5%