Skip to content

About

Show all angular new features in one project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

55 Commits

Folders and files

Repository files navigation

NovaAngular

项目介绍

  • Nova Angular项目
    • 依照实战项目中的最佳实践,供参考规范
    • 将Angular的新特性逐个展示出来,供交流学习

学习大纲

常用命令

This project was generated with Angular CLI version 15.0.1.

测试预览 Development server

  • 新项目需要运行 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.

创建构造 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.

注释规范 Comment

npm run docs

单元测试 Running unit tests

Run ng test to execute the unit tests via Karma.

单元测试示例与详解: ./docs/testing/unit-test.md

端对端测试 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.

端对端测试示例与详解: ./docs/testing/e2e-test.md

版本控制 Git Version Control

# 创建本地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:1180

更多帮助Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

Show all angular new features in one project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages