Skip to content

无法使用antd-scss-theme-plugin支持scss自定义主题 #2672

@spencer17x

Description

@spencer17x
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.4

Environment

vue2.6.11,@vue/cli 4.4.6

Reproduction link

https://intoli.com/blog/antd-scss-theme-plugin/

Steps to reproduce

babel.config.js:
plugins: [
[
'import',
{ libraryName: 'ant-design-vue', libraryDirectory: 'es', style: 'css' },
],
],

vue.config.js:
configureWebpack: {
plugins: [
new AntdScssThemePlugin('./src/style/theme.scss'),
],
},

无效

What is expected?

theme.scss可以自定义主题

What is actually happening?

无效

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions