我有一个 Angular 项目,用于 2 个具有不同后端的 Web 应用程序。前端是一样的。由于我将第二个项目添加到 angular.json 中,我收到以下警告:
Warning: 10 rules skipped due to selector errors:
:host-context([dir=rtl]) .ion-float-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-sm-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-sm-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-md-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-md-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-lg-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-lg-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-xl-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-xl-end -> unmatched pseudo-class :host-context
Run Code Online (Sandbox Code Playgroud)
第二个项目中的唯一区别是一些 scss 文件和environment.ts。我不知道这些警告是什么意思以及它们来自哪里。谷歌没有提供任何解决方案。有谁知道如何解决这一问题? …