0.0.7 • Published 8 years ago
generator-component-angularjs v0.0.7
generator-component-angularjs
Generator angular components
Installation
First, install Yeoman and generator-component using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-component-angularjs
Then generate your new component in current folder:
yo component-angularjs
Component Structure
Generated component directory has the following structure
component-name
├──index.js * Angular module.
├──component-name.component.js * Angular component registration file.
├──component-name.controller.js * Angular controller for your component.
├──component-name.template.html * Angular template for your component.
├──component-name.spec.js * Spec for your component.
└──component-name.less * Styles for your 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
Apache-2.0 © ihor_yanenko
travis-image: https://travis-ci.org/club kind people/generator-component.svg?branch=master travis-url: https://travis-ci.org/club kind people/generator-component daviddm-image: https://david-dm.org/club kind people/generator-component.svg?theme=shields.io daviddm-url: https://david-dm.org/club kind people/generator-component