Skip to content

How to exclude some styles from being imported? #161

@lkjimy

Description

@lkjimy

I'm importing the vars and base manually in my main scss file, there is no need for these file to load again.

node_modules/element-plus/theme-chalk/src/dark/css-vars.scss
node_modules/element-plus/theme-chalk/src/base.scss

No matter the configuration, if we need to use imports on demand, we are not able to customize the themes at all.

Also, when using the additionalData, literally everything I tried gave me this error:

ERROR Pre-transform error: [sass] Module loop: this module is already being loaded.

Even empty files.

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