docs: update README.md of sub-packages

This commit is contained in:
陈嘉涵
2019-08-22 11:55:05 +08:00
parent 8cca48131e
commit bcc6868c06
4 changed files with 57 additions and 4 deletions

View File

@@ -2,12 +2,20 @@
在桌面端上模拟移动端 touch 事件,实现方式来自于 [hammerjs/touchemulator](https://github.com/hammerjs/touchemulator).
## 安装
## Install
```bash
#### NPM
```shell
npm i @vant/touch-emulator -S
```
#### YARN
```shell
yarn add @vant/touch-emulator
```
## 使用指南
直接在代码中引入模块即可,模块会自动完成初始化并生效