generator-anglr
Yeoman generators for angular projects
Installation
First, install Yeoman and generator-anglr using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-anglr
Then generate your new project:
!!! IMPORTANT !!!: Run this command inside directory where you want to create new project, it does not create new directory project, generates files inside current directory.
yo anglr
Then you can use subgenerators for scaffolding:
yo anglr:subgeneratorName
Supported subgenerators
-
component
- GeneratesAngular
component -
directive
- GeneratesAngular
directive -
pipe
- GeneratesAngular
pipe -
page
- GeneratesAngular
page component with route and permissions -
module
- GeneratesAngular
module with component, or directive or pipe -
lazyRouteModule
- GeneratesAngular
lazy route module
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 © kukjevov