0.2.0 • Published 8 years ago

generator-ng2-component v0.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

generator-ng2-component NPM version Build Status Dependency Status

Angular2 Component Generator with variety of options

Beta version

Current options:

  • Name of a new component
  • Destination for the new component
  • Inline or separate template & styles. For separate
    • Sass, Less or CSS file
    • Include via templateUrl & styleUrls OR require('...')
  • Choose whether to generate Unit tests & E2E tests

Todo:

  • Choose whether to include Forms, Routes, ...
  • Global configuration

Installation

First, install Yeoman and generator-ng2-component using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-ng2-component

Then generate your new Angular2 component:

yo ng2-component

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © Samuel Kollat

0.2.0

8 years ago

0.1.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago