ice/packages/plugin-antd/README.md

21 lines
319 B
Markdown
Raw Permalink Normal View History

# `@ice/plugin-antd`
An ice.js plugin to use `antd` components.
## Usage
```js
import { defineConfig } from '@ice/app';
import antd from '@ice/plugin-antd';
export default defineConfig(() => ({
plugins: [antd({
dark: true,
compact: true,
theme: {
'primary-color': '#fd8',
},
})],
}));
```