Angular CLI - CLI命令概述

优质
小牛编辑
127浏览
2023-12-01

ng lint lints the code in your project using tslint. You can customize the rules for your project by editing tslint.json.
You can switch some of these to use your preferred tool by editing the scripts in package.json.
Testing

ng build will build your app (and minify your code) and place it into the default output path, dist/.
Serve

Once your app is served, you can run end-to-end tests using ng e2e. The CLI uses Protractor for these tests.
Deploy