Closed SKT1yang closed 11 months ago
使用编译后的组件,比如推到npm的二次开发组件,无法切换主题,希望能够支持。 下面是我复现不支持的测试项目地址:https://github.com/SKT1yang/test
复现步骤:
编译后正常使用,正常切换主题(config-provider组件正常生效)
二次封装的组件打包要手动排除ant-design-vue,你的组件库和你的项目中存在两个不同的实例导致的问题,建议参考rollup external
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
What problem does this feature solve?
使用编译后的组件,比如推到npm的二次开发组件,无法切换主题,希望能够支持。 下面是我复现不支持的测试项目地址:https://github.com/SKT1yang/test
复现步骤:
What does the proposed API look like?
编译后正常使用,正常切换主题(config-provider组件正常生效)