https://github.com/neveryu/angular-heroes
A handsome angular project for learn & test
https://github.com/neveryu/angular-heroes
angular
Last synced: about 1 year ago
JSON representation
A handsome angular project for learn & test
- Host: GitHub
- URL: https://github.com/neveryu/angular-heroes
- Owner: Neveryu
- License: mit
- Created: 2023-08-05T14:12:46.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-22T12:37:29.000Z (almost 3 years ago)
- Last Synced: 2024-10-06T08:20:16.021Z (over 1 year ago)
- Topics: angular
- Language: HTML
- Homepage: https://neveryu.github.io/angular-heroes/
- Size: 354 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AngularHeroes
本项目是根据 Angular 官网的教程 [tour-of-heroes](https://angular.cn/tutorial/tour-of-heroes/toh-pt4)来编码、开发、实现的。
目的是:1、学习 Angular;2、测试 Angular 的功能;3、在这个项目上练习 Angular 丰富的,高阶的技术;
本项目是通过如下命令创建出来的:
```
npm init @angular project-name
cd project-name
npm start
```
参考链接:[Angular - 尝试你的第一个 Angular 应用程序](https://angular.cn/quick-start)
## Development server
运行项目:
```
# 1、安装依赖
npm i
# 2、启动本地服务运行本项目
npm start
```
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
## Code scaffolding
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`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
## 联系我 Contact Me