Skip to content

SASS loader duplicates CSS styles styles #5057

@Timmmm

Description

@Timmmm

Version

4.1.0

Reproduction link

https://github.com/Timmmm/vue_sass_issue.git

Environment info

MacOS 10.14.

Steps to reproduce

  1. Create the a new project with Vue CLI. I used Typescript & node-sass.
  2. Add Element (https://element.eleme.io/)
  3. Customise the style as described here: https://element.eleme.io/#/en-US/component/custom-theme#update-scss-variables-in-your-project
  4. Add an el-input element.

What is expected?

el-input should have one style applied

What is actually happening?

You get approximately 6 copies of the Element styles applied to the el-input element. This shows the first two duplicates but you can scroll down and there are loads more:

image

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