Skip to content

使用编译后的组件,支持切换主题 #6786

@SKT1yang

Description

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

What problem does this feature solve?

使用编译后的组件,比如推到npm的二次开发组件,无法切换主题,希望能够支持。
下面是我复现不支持的测试项目地址:https://github.com/SKT1yang/test

复现步骤:

  1. 进入antv4-issue文件夹,npm install 安装依赖
  2. npm run dev 打开页面
    我的config-provider配置的是dark算法的主题,但是组件显示默认主题

What does the proposed API look like?

编译后正常使用,正常切换主题(config-provider组件正常生效)

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