angular 9 ngrx 实现用户管理,使用ngrx store,effect,entity,router
这是一个学习项目,基于angular 9+ngrx来实现一个用户管理的功能。通过实现这样一个功能,来掌握angular ngrx的一系列用法。
This is a tutorial for how to build a user management system base on angular 9 and ngrx . It shows how to use the ngrx in angular 9
首先,感谢youtube上ngrx系列教程的原作者, 这是我见过最好的ngrx教程。
First, I appreciated the author of following vedio, thats the best tutorial for the ngrx I have ever see.
https://www.youtube.com/watch?v=62JNAasgclE&list=PLaMbwDs23r4KXoMucJEyUAvamQ-kFNBvC&index=1
本学习代码基于youtube教程得来,原视频中的代码是在angular 6环境下完成的,已经不适应angular 9环境。
The code in the above video is based on angular 6, and it doesn't compatible withth angular 9, so I build this new git lib for my code with angular 9
本人在angular环境下实现了本库的代码。对应博客
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.