简体   繁体   English

Angular 项目构建具有更高版本的清晰度,即 4 ,它可以包含在使用较低版本清晰度的平台 package.json 中,即 1.3

[英]Angular project build with higher version of clarity ie 4 , can it be included in a platform package.json which uses lower version of clarity ie 1.3

我们想用最新版本的清晰度构建一个项目A,项目需要在平台B中使用angular 7和清晰度1.3版本作为B内部的库。这些可以实现

In generally, this is not likely to work well.一般来说,这不太可能奏效。 This is more due to the way that the TypeScript and Angular compiler works than Clarity, because the Angular versions used are different enough that they do not work together.这更多是因为 TypeScript 和 Angular 编译器的工作方式而不是 Clarity,因为使用的 Angular 版本差异很大,以至于它们不能一起工作。 You can try, but I would recommend updating your old project as it is out of support for Angular at this point.您可以尝试,但我建议您更新您的旧项目,因为此时它不支持 Angular。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM