generator-ng-template
A custom Angular base project template
Since every time I want to start a new Angular project I spend a lot of time configuring the project I created this Yeoman generator.
The generated project has the following differences from the angular-cli
one:
-
jest
instead ofkarma
-
eslint
andprettier
instead ofts-lint
-
ngx-translate
is already installed, configured and with a working example in theAppComponent
- Angular Material is installed and a custom theme is configured
The generator will ask you input to use in the codebase like the author name and the selector for the Angular components.
Installation
First, install Yeoman and generator-ng-template using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-ng-template
Then generate your new project:
yo ng-template
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 © Yiyi Chen