首页 > 解决方案 > AngularCLI - serve sub project

问题描述

I have two Angular CLI projects:

when I CD into C:/folder/sub and run ng serve Angular does start and serve but the first project at C:/folder/package.json. is there any way to fix this?

标签: angularcommand-line-interfacenpm-scripts

解决方案


there was no angular.json and AngularCLI just did search all parent directories for any angular.json until it did find one


推荐阅读