NgLzui
This project was generated with Angular CLI version 7.3.6.
Development server
Run ng serve
for a dev server. Navigate to http://localhost:1979/
. The app will automatically reload if you change any of the source files.
Code scaffolding
- 1.不创建单位测试 ng g m accss-routing --spec=false
- 2.把文件建立在当前路径下,不建立文件夹 在当前文件夹下建立一个Module:ng g m acc-routing --flat
- 3.把当前module注册到某个路径的NgModule下,注意当前命令所在路径 ng g m acc-routeing --flat --module=../app
- 4.其他语法
Run
ng generate component component-name
to generate a new component. You can also useng generate directive|pipe|service|class|guard|interface|enum|module
.
Build
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.
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.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
前端项目
所需框架
项目主框架
- angular 地址:https://angular.cn/docs
UI控件库
-
ng-zorro 地址:https://ng.ant.design/docs/introduce/zh
-
ng-cy-ui 地址: https://fillchar.gitbook.io/cy
图标库
- font-awesome 地址:http://www.fontawesome.com.cn/faicons
工具库
-
统计图
- highcharts 地址: https://www.highcharts.com.cn/
-
前端缓存库
- localforage 地址: https://github.com/localForage/localForage
-
js函数库
- lodash 地址: https://lodash.com/
-
DOM操作库
- jquery 地址:https://jquery.com
-
时间处理库
- Moment.js 地址:https://momentjs.com/