- Nova Angular项目
- 依照实战项目中的最佳实践,供参考规范
- 将Angular的新特性逐个展示出来,供交流学习
- 新人起步:startup
- 八大构造 basic
- 前端CICD
- 前端测试:testing
- 文档规范:Document
- 后端服务:Backend
This project was generated with Angular CLI version 15.0.1.
- 新项目需要运行
npm i安装基础依赖至:node_modules
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.
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.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
npm run docsRun ng test to execute the unit tests via Karma.
单元测试示例与详解: ./docs/testing/unit-test.md
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.
端对端测试示例与详解: ./docs/testing/e2e-test.md
# 创建本地GIT
git init # 本地初始化GIT版本控制
git add . # 添加需要被版本控制的文件
git commit -m "feat: init nova angular & bvideo module" # 添加本次修改内容的说明
# 推送远程GIT
git remote add origin https://github.com/yourstack/nova-angular.git
git push --set-upstream origin master
git push
# 设置代理(仅Github需要)
git config --global https.proxy https://127.0.0.1:1180To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.