0.1.0 • Published 5 years ago

ice-scripts-plugin-antd v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

ice-plugin-antd

ice-scripts plugin for project use antd components

Features

  • 组件按需加载
  • 主题定制能力

Usage

Install npm:

$ npm i --save-dev ice-scripts-plugin-antd

Add config to ice.config.js:

// ice.config.js
module.exports = {
  plugins: [
    ['ice-scripts-plugin-antd', {
      themeConfig: {
        'primary-color': '#1DA57A',
        'link-color': '#1DA57A',
        'border-radius-base': '2px',
      }
    }]
  ]
}