欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

Angular CLI

npm install -g @angular/cling new my-dream-appcd my-dream-appng serve

Angular CLI

A command line interface for Angular
GET STARTED

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 generate

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

ng serve

Easily test your app locally while developing.

Test, Lint

Make your code really shine. Run your unit tests, your end-to-end tests, or execute the official Angular linter with the breeze of a command.


来自  https://cli.angular.io/

普通分类: