mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(cli): update README.md
This commit is contained in:
parent
d00423c002
commit
77f6b7a19a
@ -45,14 +45,8 @@ yarn add @vant/cli --dev
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{ts,tsx,js,jsx,vue}": [
|
"*.{ts,tsx,js,jsx,vue}": ["eslint", "git add"],
|
||||||
"eslint",
|
"*.{vue,css,less,scss}": ["stylelint", "git add"]
|
||||||
"git add"
|
|
||||||
],
|
|
||||||
"*.{vue,css,less,scss}": [
|
|
||||||
"stylelint",
|
|
||||||
"git add"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"root": true,
|
"root": true,
|
||||||
@ -68,24 +62,19 @@ yarn add @vant/cli --dev
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 命令
|
## 详细文档
|
||||||
|
|
||||||
参见[命令](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/commands.md)。
|
- [命令](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/commands.md)
|
||||||
|
- [配置指南](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/config.md)
|
||||||
## 配置
|
- [目录结构](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/directory.md)
|
||||||
|
- [更新日志](https://github.com/youzan/vant/tree/dev/packages/vant-cli/changelog.md)
|
||||||
参见[配置指南](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/config.md)。
|
|
||||||
|
|
||||||
## 目录结构
|
|
||||||
|
|
||||||
参见[目录结构](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/directory.md)。
|
|
||||||
|
|
||||||
## 更新日志
|
|
||||||
|
|
||||||
参见[更新日志](https://github.com/youzan/vant/tree/dev/packages/vant-cli/changelog.md)。
|
|
||||||
|
|
||||||
## 微信讨论群
|
## 微信讨论群
|
||||||
|
|
||||||
扫码加入 Vant Cli 交流群,若群二维码过期,可以联系有赞前端小秘书加群
|
扫码加入 Vant Cli 交流群,若群二维码过期,可以联系有赞前端小秘书加群
|
||||||
|
|
||||||
<img src="https://img.yzcdn.cn/vant/wechat_20200403.jpeg" width="220" height="285" >
|
<img src="https://img.yzcdn.cn/vant/wechat_20200413.jpg" width="220" height="285" >
|
||||||
|
|
||||||
|
## 关于桌面端组件
|
||||||
|
|
||||||
|
目前 Vant Cli 仅支持移动端组件的预览,桌面端组件暂不支持预览(欢迎 PR)。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user