Skip to content

Nirajkashyap/generator-angular-2-preandlazyload

Repository files navigation

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

Installation

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

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

Then generate your new project:

yo angular-2-preandlazyload

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-preandlazyload:component 
yo angular-2-preandlazyload: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 © Niraj Kashyap