fiscusmatt-schematics
v1.0.3
Published
A schematic that generates components with the Angular router and ngUnsubscribe declared
Downloads
1
Readme
FiscusMatt Schematics
This package generates Angular 2+ components with ngUnsubscribe and the angular router declared.
Installation
Simply install this package using npm
Generate a component within your project
ng generate fiscusmatt-schematics:fiscusmatt-schematics --name someName
will generate a component class SomeName and selector app-somename.
You can also specify sub-directories, for instance --name components/someName
will create the component in a subdirectory.
Development
npm run watch
will automatically build as you develop.
Unit Testing
npm run test
will run the unit tests, using Jasmine as a runner and test framework. --TODO