andrii1812 / generator-es6-component

yeoman angular 1.5 component generator

Home Page:https://www.npmjs.com/package/generator-es6-component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generator-es6-component

Yeoman generator for scaffolding angular 1.5 es6 components

Installation

npm install -g yo generator-es6-component

Usage

yo es6-component <component-name> [--with-module]

with-module - will create additional module for the component

when calling without parameters - standard yeoman prompt will be shown

Example:

yo es6-component hello --with-module

will generate 5 files

hello
+-- hello.component.js
+-- hello.controller.js
+-- hello.module.js
+-- hello.scss
+-- hello.template.html

About

yeoman angular 1.5 component generator

https://www.npmjs.com/package/generator-es6-component

License:Other


Languages

Language:JavaScript 98.0%Language:HTML 1.2%Language:CSS 0.8%