fishx antd plugin
npm install @fishx/fishx-antd``sh`
yarn add @fishx/fishx-antd
`js
import antd from '@fishx/fishx-antd'
export default {
plugins: [antd()],
}
`
to modify the default Ant Design theme:
`js
import antd from '@fishx/fishx-antd'
import less from '@fishx/fishx-less'
export default {
plugins: [
less({
modifyVars: {
'primary-color': 'black',
'link-color': '#1DA57A',
'border-radius-base': '10px',
},
javascriptEnabled: true,
}),
antd({
style: true,
}),
],
}
``