Aloha

Results 3 comments of Aloha

用 [`patch-package`](https://github.com/ds300/patch-package) 打个补丁,直接将 `node_modules/antd/lib/style/core/index.less` 改成下面这样就行: ```less @import '../mixins/index'; @import 'base'; *[class*='ant-'] { @import 'global'; } @import 'iconfont'; @import 'motion'; ``` 步骤少,很方便。

> > 用 [`patch-package`](https://github.com/ds300/patch-package) 打个补丁,直接将 `node_modules/antd/lib/style/core/index.less` 改成下面这样就行: > > ``` > > @import '../mixins/index'; > > @import 'base'; > > *[class*='ant-'] { > > @import 'global'; > > } >...

I wrote a [plugin](https://github.com/a1ooha/unplugin-lingui-loader) for vite and more, which can compiles messages on the fly! It contains a demo for vite integration in the [playground catalogs](https://github.com/a1ooha/unplugin-lingui-loader/tree/master/playground), Hope this helps.