Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
devcui opened this issue Feb 4, 2021 · 1 comment
Open

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

devcui opened this issue Feb 4, 2021 · 1 comment
Assignees

Comments

@devcui
Copy link

devcui commented Feb 4, 2021

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

image

image

image

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

@devcui
Copy link
Author

devcui commented Feb 4, 2021

必须要在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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants