angular - AngularCLI - serve sub project
问题描述
I have two Angular CLI
projects:
the first project is at
C:/folder/package.json
and that which I want to launch is at
C:/folder/sub/package.json
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?
解决方案
there was no angular.json
and AngularCLI
just did search all parent directories for any angular.json
until it did find one
推荐阅读
- c# - 使用 Microsoft Bot Framework,是否可以在 Microsoft Teams 中@提及团队或频道?
- javascript - 使用网站翻译器翻译其他网站
- linux - 如何在 Linux 上构建动态链接的 qt 应用程序(非共享库)
- html - 如何在单击侧导航栏元素时制作书签类型的功能区?
- javascript - 从渐进式 Web 应用程序打印
- java - 如何从java中的txt文件中提取以下信息
- firebase - Cloud Firestore 实时更新能否监听多个集合,即集合名称中有一个变量?
- ios - swift中的自定义UIBezierPath(Arc麻烦)
- actions-on-google - DeepLink 错误(Actions on Google)
- python - 在 nginx 上获取请求;调用python脚本