Skip to content

@chenshuai2144 chenshuai2144 released this May 16, 2018 · 1150 commits to master since this release

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';
Assets 2
You can’t perform that action at this time.