Skip to content

Nirajkashyap/generator-angular-2-lazy

Repository files navigation

generator-angular-2-lazy NPM version Build Status Dependency Status Coverage percentage

Installation

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

npm install -g yo
npm install -g generator-angular-2-lazy

Then generate your new project:

yo angular-2-lazy

this will create base structure like AngularClass

integration

  1. angular http interceptor
  2. i18n from @ngx-translate/core and @biesbjerg/ngx-translate-extract
  3. sample for pre/lazy loaded moudles and route
  4. sample for auth-gaurd service

sub generator

yo angular-2-lazy:component 
yo angular-2-lazy:page --optional service integration

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 © nirajkashyap