https://angular.cn/tutorial/tour-of-heroes https://angular.cn/tutorial/tour-of-heroes/toh-pt0 ng new angular-tour-of-heroes cd angular-tour-of-heroes ng serve --open
查看目录,未生成app.module.ts
网上搜了一下
https://github.com/angular/angular/issues/52751
需要使用如下命令:
ng new angular-tour-of-heroes --no-standalone --routing --ssr=false
推荐链接
发表评论