ng cli 的命令

COMMANDALIASDESCRIPTION
addAdds support for an external library to your project.
analyticsConfigures the gathering of Angular CLI usage metrics. See https://v8.angular.io/cli/usage-analytics-gathering.
buildbCompiles an Angular app into an output directory named dist/ at the given output path. Must be executed from within a workspace directory.
configRetrieves or sets Angular configuration values in the angular.json file for the workspace.
deploydInvokes the deploy builder for a specified project or for the default project in the workspace.
docdOpens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.
e2eeBuilds and serves an Angular app, then runs end-to-end tests using Protractor.
generategGenerates and/or modifies files based on a schematic.
helpLists available commands and their short descriptions.
lintlRuns linting tools on Angular app code in a given project folder.
newnCreates a new workspace and an initial Angular app.
runRuns an Architect target with an optional custom builder configuration defined in your project.
servesBuilds and serves your app, rebuilding on file changes.
testtRuns unit tests in a project.
updateUpdates your application and its dependencies. See https://update.angular.io/
versionvOutputs Angular CLI version.
xi18nExtracts i18n messages from source code.

Leave a Comment

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据