npm.io
0.1.3 • Published 8 years agoCLI

ng-universal-cli

Licence
MIT
Version
0.1.3
Deps
7
Vulns
3
Weekly
0

Alt text

CLI Project Setup Kit for Angular Universal Project

Features

  • Create Angular 4 Universal Project with one command
  • More Features coming soon

Usage

Pre-Setup Angular Universal CLI
  • Install Yarn if you don't have Yarn installed brew install yarn
  • Install Latest (1.3.0+) Angular CLI if you don't already have it installed npm install -g @angular/cli
Setup Angular Universal CLI
  • npm i -g ng-universal-cli
  • Run ngu new <projectName> (CamelCase or kebab-case)
  • Your, NgUniversal Project all set cd <projectName>
  • And final step: Deploy client-side project ng deploy --app=0 OR Deploy server-side project ng deploy --app=1

Now, you are all set!