Skip to content

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

@zsq2010

Description

@zsq2010

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions