ElemeFE / ElemeFE/element-angular

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

Open
#158 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
527
Forks
121
PR merge metrics
No merged PRs in 30d

Description

Issue Type:
- [ ] Bug

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.