# lab-element
html-webpack-plugin
## Project setup
```
npm config set registry https://registry.npm.taobao.org

yarn install
cnpm install
```

### Compiles and hot-reloads for development
```
yarn serve
cnpm run serve
```

### Compiles and minifies for production
```
yarn build
cnpm run build
```

### Lints and fixes files
```
yarn lint
cnpm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

npm cache clean --force
lkymao
charm_mao059
### 引入
```shell
import labElement from 'lab-element'
Vue.use(labElement, { i18n: (key, value) => i18n.t(key, value), size: 'mini' });
```
### publish
```shell
npm publish --registry https://registry.npmjs.org
```
### npm ERR! code E400
解决办法：
1、执行：
```shell
npm config get proxy
npm config get https-proxy
```

2、如果返回值不为null，继续执行：
```shell
npm config set proxy null
npm config set https-proxy null
```
3、执行：
```shell
npm config set registry http://registry.cnpmjs.org/
```