Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (35 sloc) 919 Bytes

Getting started with angular-cli

Installing angular-cli

Important: please check angular-cli version, it should be => "1.0.0-beta.24"

Note: you can skip this part if you already have application generated by ng-cli and webpack

npm i -g angular-cli
ng new my-app
cd my-app
ng serve

Adding angular2-signature-pad

  • install angular2-signature-pad
  npm install angular2-signature-pad  --save
  • open src/app/app.module.ts and add
import { SignaturePadModule } from 'angular2-signature-pad';

   imports: [SignaturePadModule, ... ],
  • open src/app/app.component.html and add