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
+14
View File
@@ -2,6 +2,20 @@
将 .md 文件转换成能描述 vue 组件的 .json 文件,供 vscode 插件 *vetur* 读取,从而可以在 vue 模版语法中拥有自动补全的功能。
## Install
#### NPM
```shell
npm i @vant/markdown-vetur -D
```
#### YARN
```shell
yarn add @vant/markdown-vetur --dev
```
## API
#### parseAndWrite