【Angular-CLI】首页说明

CLI:CLI(command-line interface,命令行界面)是指可在用户提示符下键入可执行指令的界面,它通常不支持鼠标,用户通过键盘输入指令,计算机接收到指令后,予以执行。

CMD中使用CD来改变当前所在文件夹位置:change directory

ng new
The Angular CLI makes it easy to create an application that already works, right out of the box. It already follows our best practices!

ng new
Angular CLI可以很容易创建一个已经工作的应用;可以直接支持。这已经经过我们最好的实践;

ng generate
Generate components, routes, services and pipes with a simple command. The CLI will also create simple test shells for all of these.

使用最简单的命令构造组件,路由,服务和管道。CLI也会为这些创建一些简单的测试shells;

ng serve
Easily test your app locally while developing.

当开发的时候,可以很容易的测试你的app

Test, Lint, Format

Make your code really shine. Run your unittests or your end-to-end tests with the breeze of a command. Execute the official Angular linter and run clang format.

测试,程序检查,格式化
使你的代码很顺畅。运行你的单元测试或者使用简单的命令进行端口对端口的测试;执行官方的Angular程序检查并且运行clang编译格式化;

你可能感兴趣的:(【基础】)