2.0.0-beta.1
版本发布时间: 2018-05-16 19:44:02
ant-design/ant-design-pro最新发布版本:v6.0.0-beta.1(2022-06-27 12:38:23)
This update supports babel-plugin-import .
Configuration is as follows
{
libraryName: 'ant-design-pro',
libraryDirectory: 'lib',
Style: true,
camel2DashComponentName: false,
}
in code
import { Charts, NumberInfo, Trend } from 'ant-design-pro';
此次更新主要是支持了 babel-plugin-import。 通过如下配置来使用:
{
libraryName: 'ant-design-pro',
libraryDirectory: 'lib',
style: true,
camel2DashComponentName: false,
}
在代码中:
import { Charts, NumberInfo, Trend } from 'ant-design-pro';