open-index/open-npm huggingface dataset:
npm package: @matisha001/ssss-ui
Description: 移动端组件库
Author: caoyankui
Latest version: 0.1.1

# h5-components
移动端组件库

### 安装依赖
```
yarn install
```

### 本地查看demo
```
yarn run serve
```

### 构建demo
```
yarn run build
```

### 构建依赖包
```
yarn run lib
```

### 快速引入组件
```js
import Vue from 'vue';
import MtsUI from 'ssss-ui';
Vue.use(MtsUI)
```

### 按需引入组件

借助 [babel-plugin-component](https://github.com/QingWei-Li/babel-plugin-component)按需引入组件

```js
npm install babel-plugin-component -D
```



```js
import Vue from 'vue';
import { Button, Select } from 'ssss-ui';

Vue.component(Button.name, Button);
Vue.component(Select.name, Select);
/* 或写为
 * Vue.use(Button)
 * Vue.use(Select)
 */
```