1.0.7 • Published 8 years ago

generator-pressg v1.0.7

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

Yeoman-angular-generator Gitter

Purpose

Quickly set up new component for your project

For consistancy of code style and best practice according to https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md

##Installation

Edit index.js file for your project in the directory path if you do not have node.js install yet, follow instruction: https://nodejs.org/en/

If you do not have yeoman install yet run commond:

npm install -g yo

then

npm install generator-pressg --save-dev

##Usgae

To Create Controller, Service, Directive, ...(use CamelCase for the component name you want to use, the generator will create dash-directory for you)

Run the commond:

yo pressg <newComponentName>

To Create a child component inside a parent component, Run the commond:

yo pressg <newComponentName> <parentComponentName>

or inside another parent component, Run the commond:

yo pressg <newComponentName> <super-parentComponentName>/<parentComponentName>

##Contact improvement and bug fix peterxie125@gmail.com

##License MIT

1.0.7

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago