https://github.com/liupeijun/angular4-router-maizuo
angular4 单页面应用实战-基于卖座电影的设计与实现
https://github.com/liupeijun/angular4-router-maizuo
angular-router angular2 angular4
Last synced: about 1 year ago
JSON representation
angular4 单页面应用实战-基于卖座电影的设计与实现
- Host: GitHub
- URL: https://github.com/liupeijun/angular4-router-maizuo
- Owner: liupeijun
- Created: 2017-11-03T09:26:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-09T10:11:03.000Z (over 8 years ago)
- Last Synced: 2025-02-07T08:31:54.711Z (about 1 year ago)
- Topics: angular-router, angular2, angular4
- Language: JavaScript
- Size: 470 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# angular4-router-maizuo
## Development server
Run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app 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/module`.
## Build
Run `npm 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 `npm test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `npm e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `npm start`.
## Further help
To get more help on the Angular CLI use `ng h