ElemeFE / element-angular

Element for Angular
https://element-angular.faas.ele.me
MIT License
530 stars 121 forks source link

Container 布局容器的示例,测试失败,无法渲染 #158

Open zsq2010 opened 5 years ago

zsq2010 commented 5 years ago

Issue Type:

Version & Environment:
element-angluar0.7.6 angluar cli:8.1.2 node:10.15.3 rxjs 6.4.0

Description: 1.项目css初始化为:css,使用路由y/n选择y 2.使用angluar cli,安装,并在style.css,导入css

测试了几个指南的例子,很多都是ok没问题的,

但是, "Container 布局容器",例子,粘贴到app.component.html后.报错: 界面无法渲染(一片白)

浏览firefox 错误显示:

ERROR NullInjectorError: "StaticInjectorError(AppModule)[NgClass -> NgClassImpl]: StaticInjectorError(Platform: core)[NgClass -> NgClassImpl]: NullInjectorError: No provider for NgClassImpl!" Angular 36

makyo5 commented 4 years ago

同样出现了这个问题。 完全按照说明来的。 使用el-container就会报错: ERROR NullInjectorError: StaticInjectorError(AppModule)[NgClass -> NgClassImpl]: StaticInjectorError(Platform: core)[NgClass -> NgClassImpl]: NullInjectorError: No provider for NgClassImpl!

目前的项目暂时无法使用elangular,暂时改用其他ui在做。

52Hertzlyl commented 3 years ago

请问解决了吗,我也遇到这个问题了

makyo5 commented 3 years ago

感觉已经被废弃了。。。。