0.1.1 • Published 6 years ago
pea-plugin-antd v0.1.1
pea-plugin-antd
Installation
npm i pea-plugin-antd
Usage
import AntdPlugin from 'pea-plugin-antd'
export default {
plugins: [new AntdPlugin()],
}
Customize Ant Design Theme
to modify the default Ant Design theme:
import AntdPlugin from 'pea-plugin-antd'
import LessPlugin from 'pea-plugin-less'
export default {
plugins: [
new LessPlugin({
modifyVars: {
'primary-color': 'black',
'link-color': '#1DA57A',
'border-radius-base': '10px',
},
javascriptEnabled: true,
}),
new AntdPlugin({
style: true,
}),
],
}