@iel/patch-iview-variable
v1.3.8
Published
path iview style variable
Downloads
76
Readme
path-iview-variable
为
iView-ui(view-design)
的样式使用css var
编译,并配合@iel/varx
和color
进行适配动态换肤。
安装
// 基于 @iel/varx、color
npm i -S @iel/varx color @iel/patch-iview-variable
// or
yarn add @iel/varx color @iel/patch-iview-variable
使用
import { createVarx } from '@iel/varx'
import patchIViewVariable from '@iel/patch-iview-variable'
const varx = createVarx({ plugins: [patchIViewVariable()] })
@import '~@iel/patch-iview-variable/styles/index.less';