# angular-study **Repository Path**: chenhongbinjs/angular-study ## Basic Information - **Project Name**: angular-study - **Description**: angular4学习项目 - **Primary Language**: TypeScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-07-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AngularStudy 本项目为angular4学习项目,基于[angular-cli/1.2.1](https://github.com/angular/angular-cli)生成。 ## 开发部署 运行`ng serve`,启动一个开发服务器,浏览器里输入`http://localhost:4200`,当你修改了某个文件,浏览器将会自动加载。 ## 代码生成 运行 `ng generate component component-name` 生成新的组件. 也可以运行以下命令 `ng generate directive|pipe|service|class|module`。 ## 编译 运行 `ng build` 编译项目. 编译好的目录为 `dist/` 文件夹. 使用 `-prod` 以生产环境编译。 ## 单元测试 运行 `ng test` 执行单元测试 [Karma](https://karma-runner.github.io)。 ## Running end-to-end tests 运行 `ng e2e` 执行端到端的测试 [Protractor](http://www.protractortest.org/)。 运行测试前请执行 `ng serve`启动项目。 ## 更多帮助 运行ng help查看更多帮助。[Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md)。