[英]integrate AngularJS 2 cli with ASP.NET Core application
I try to create Asp.Net Core application with AngularJS 2 . 我尝试使用AngularJS 2创建Asp.Net Core应用程序。 After final version AngularJS has new cli features.
在最终版本之后,AngularJS具有新的CLI功能。 For example
例如
ng generate component person
command create new component by given entity name. 命令通过给定的实体名称创建新组件。 I try many examples from web github etc. But can't find combined application twice.
我尝试了来自Web github等的许多示例。但是找不到两次组合的应用程序。 For example when I try to create new component, retruned result is
例如,当我尝试创建新组件时,提示结果为
You have to be inside an angular-cli project in order to use the generate command.
确保在生成项目后,您必须“ cd”到您的cli依赖模块所在的项目中才能使用它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.