Skip to content

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

Open

Description

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

Activity

  1. ghost changed the title [-]使用SCSS导致样式重复,页面组件多了热更新就会很慢[/-] [+]使用SCSS导致样式重复,影响性能并且不利于开发调试[/+] on Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions