我使用角度4和材质2处理Web应用程序.我收到此错误
原文链接:https://www.f2er.com/angularjs/141467.htmlparse errors: 'md-card' is not a known element: 1. If 'md-card' is an Angular component,then verify that it is part of this module. 2. If 'md-card' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("<h2>Nothing to show</h2> [ERROR ->]<md-card>Simple card</md-card> "): ng:///AppAccessModule/SPLoginComponent.html@1:0 at SyntaxError
当我尝试在一个文件夹中嵌套两次的组件中使用材料时@H_404_4@
这些是我的结构:@H_404_4@
-----Components(folder) -------Auth(folder) --------Login(component1) --------Signup(component2)
但如果我下一次喜欢这样:@H_404_4@
-------Auth(folder) --------Login(component 1) --------Signup(component2)