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

请问项目之间css会互相污染,这个怎么解决 #4

Open
StevenShaoYY opened this issue Sep 18, 2019 · 2 comments
Open

请问项目之间css会互相污染,这个怎么解决 #4

StevenShaoYY opened this issue Sep 18, 2019 · 2 comments

Comments

@StevenShaoYY
Copy link

比如子项目的全局css样式会影响父项目的css样式

@zh-rocco
Copy link
Collaborator

@StevenShaoYY

子项目的全局样式是否必须?

推荐给子项目加上 namespace,或者使用 scoped style

Duplicate

@StevenShaoYY
Copy link
Author

谢谢大佬,这样能解决子项目间的css冲突,但父子之间还是有点问题,能留个联系方式或者有没有群一起交流下

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