ng命令

匿名 (未验证) 提交于 2019-12-03 00:39:02

1、根目录下执行ng命令

Microsoft Windows [版本 10.0.16299.492]

(c) 2017 Microsoft Corporation。保留所有权利。


C:\Users\dqgzs>ng
Available Commands:


















For more detailed help run "ng [command name] --help"


C:\Users\dqgzs>


2、项目下执行ng命令


Microsoft Windows [版本 10.0.16299.492]

(c) 2017 Microsoft Corporation。保留所有权利。


C:\Users\dqgzs>cd D:\workspace-sts\dqgy\manage


C:\Users\dqgzs>D:


D:\workspace-sts\dqgy\manage>ng generate module app-routing --flat --module=app
Your global Angular CLI version (6.0.8) is greater than your local
version (1.6.7). The local Angular CLI version is used.


To disable this warning use "ng config -g cli.warnings.versionMismatch false".




D:\workspace-sts\dqgy\manage>ng
Your global Angular CLI version (6.0.8) is greater than your local
version (1.6.7). The local Angular CLI version is used.


To disable this warning use "ng config -g cli.warnings.versionMismatch false".
ng build <options...>


































































ng completion <options...>









ng doc <keyword> <options...>





ng e2e <options...>


































































































ng eject <options...>

































































ng generate <schematic> <options...>














ng get <options...>





ng help <command-name (Default: all)> <options...>





ng lint <options...>












ng new <options...>














ng serve <options...>
























































































ng set <options...>





ng test <options...>


































ng version




ng xi18n <options...>

















D:\workspace-sts\dqgy\manage>


文章来源: ng命令
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!