Generator for tiny Angular2 Components, enjoy
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 22 commits ahead, 2 commits behind samuel-kollat:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators/app
test
.editorconfig
.gitignore
README.md
package.json

README.md

npm version dependencies

Generator for tiny Angular2 Components, enjoy. This is a friendly fork of Samuel Kollat

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-comp

Then generate your new Angular2 component:

yo ng2-comp

Ensure you include node into your ambientDependencies in typings.json.

{
  "ambientDependencies": {
    ...
    "node": "github:DefinitelyTyped/DefinitelyTyped/node/node.d.ts#138ad74b9e8e6c08af7633964962835add4c91e2"
  }
}

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 © Michael Knoch