1.0.6 • Published 9 years ago
@jeffrygonzalez/ng2templates v1.0.6
Very simple templates for Angular 2
This is a very very early release. Don't count on this.
Installation
npm install @jeffrygonzalez/ng2templates -gUsage
In your angular 2 project directory, type
ng2scaffoldThis will start up a vorpal process. The only (current) command is component, which takes the name of a component, and
creates some files for you in the src/app directory.
Example:
component dogsnotWill create in the src/app directory:
dogsnot
+-- dogsnot.component.css
+-- dogsnot.component.html
+-- dogsnot.component.ts
+-- dogsnot.component.spec.tsTodo
- Make it configurable
- Change the path of the files produced
- Allow for custom templates
- Allow options to not include certain files (specs, for example)