Angluar2 project to build

Angular CLI official use of a scaffold

1. Install cli

npm install -g @angular/cli

2. Create a work space and initial application

ng new my-app

Two tsLint code format management

Three cssStyleLint

Four hook when the code is arranged prettier git cz (git commit) before the code detection can be performed, if not detected can not be submitted by

Five introduced Angular Material Component Library (https://material.angular.cn/)

Six states do manage to introduce ngrx

Seven introduced graphql + apollo do asynchronous interface requests

Routing configuration (file classification - routing, component, introduced material components)

Public style of writing (common component library style: host :: deep)

Guess you like

Origin www.cnblogs.com/honkerzh/p/11137196.html