我正在为使用 VMware 的 Clarity 组件的 angular 2 项目做 POC。当我运行测试运行器时,我收到以下错误:
'clr-main-container' is not a known element:
1. If 'clr-main-container' is an Angular component, then verify that it is part of this module.
2. If 'clr-main-container' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. ("[ERROR ->]<clr-main-container>
我是 Angular 2 的新手,在 Google 上找不到任何东西。