Skip to content

Instantly share code, notes, and snippets.

@tahaipek
Created September 25, 2016 00:22
Show Gist options
  • Save tahaipek/cf68e3fed7983e28d5b46b9818ad024d to your computer and use it in GitHub Desktop.
Save tahaipek/cf68e3fed7983e28d5b46b9818ad024d to your computer and use it in GitHub Desktop.
Angular 2
Ng CLI
Scaffold Usage
Component => ng g component my-new-component
Directive => ng g directive my-new-directive
Pipe => ng g pipe my-new-pipe
Service => ng g service my-new-service
Class => ng g class my-new-class
Interface => ng g interface my-new-interface
Enum => ng g enum my-new-enum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment