Skip to content

@Component({styleUrls})不生效 #170

Open
@devcui

Description

@devcui

如下图所示,在组件内的样式表不起作用

image

image

image

经测试,去除@worktile/planet-postcss-prefixwrap组件样式恢复正常,但应用样式隔离又回出问题

Activity

devcui

devcui commented on Feb 4, 2021

@devcui
Author

必须要在style.less/scss 中 @import引用吗?也就是说webpack并不能帮我打包component的styleUrls吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @luxiaobei@devcui

      Issue actions

        @Component({styleUrls})不生效 · Issue #170 · worktile/ngx-planet