Skip to content

y-chen/ng-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 of karma
  • eslint and prettier instead of ts-lint
  • ngx-translate is already installed, configured and with a working example in the AppComponent
  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published