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

使用SCSS导致样式重复,影响性能并且不利于开发调试 #38

Open
XiaoBaiSAMA opened this issue Oct 10, 2019 · 0 comments

Comments

@XiaoBaiSAMA
Copy link

在开发热更新模式下,直接导入index.scss(为了自定义主题色),会导致大量的样式重复,查看源码发现是框架样式反复@import导致的,这个问题在build模式会消失,但是会影响开发热更新的性能。
截图

@XiaoBaiSAMA XiaoBaiSAMA changed the title 使用SCSS导致样式重复,页面组件多了热更新就会很慢 使用SCSS导致样式重复,影响性能并且不利于开发调试 Oct 10, 2019
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

1 participant