Skip to content

Latest commit

 

History

History
45 lines (23 loc) · 1.53 KB

README_CN.md

File metadata and controls

45 lines (23 loc) · 1.53 KB

NgrxDev

English | 中文

这个项目使用 Angular CLI 搭建完成,Angular版本 10.0.5.

开发模式

运行 npm i安装依赖, ng serve 启动开发服务器. 浏览器输入 http://localhost:4200/. 当项目文件发生改变时该应用回自动刷新,重新加载

Code scaffolding

运行 ng generate component component-name to 生成一个新的组件. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.详细参数参照 Angular 官网

Build

运行 ng build 对项目进行打包. 打包后的文件会在根目录的dist文件夹里. 使用参数--prod 为生产环境打包

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

UI Framework choose

使用 ng-zorro-antd 版本 9.3.0.

State Manage tool

使用 Ngrx 版本 10.0.0

test data tool

使用 MockJs 版本 1.1.0

Further help

获取更多帮助请运行 ng help 或者访问 Angular CLI README.

Branchs

此处有两个分支,master分支,写了部分关于 ngrx 的例子,env则没有那些例子,是一个空的基础项目