mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
docs: add Cloud IDE preview online (#11362)
* Create preview.yml * Add Cloud IDE link * Add Cloud IDE link * Update README.md
This commit is contained in:
parent
7c35b143dd
commit
7a740a45d5
@ -81,6 +81,10 @@ app.use(Button);
|
||||
|
||||
See more in [Quickstart](https://vant-ui.github.io/vant#/en-US/quickstart).
|
||||
|
||||
## Start On Visual Studio Code Web
|
||||
|
||||
[https://github.dev/youzan/vant](https://github.dev/youzan/vant)
|
||||
|
||||
## Browser Support
|
||||
|
||||
Vant 2 supports modern browsers and Android >= 4.0、iOS >= 8.0.
|
||||
|
@ -85,6 +85,10 @@ app.use(Button);
|
||||
|
||||
vant 也支持按需引入、CDN 引入等方式,详细说明见 [快速上手](https://vant-contrib.gitee.io/vant#/zh-CN/quickstart).
|
||||
|
||||
## 在 Cloud IDE 中预览
|
||||
|
||||
[https://idegithub.com/youzan/vant](https://idegithub.com/youzan/vant)
|
||||
|
||||
## 浏览器支持
|
||||
|
||||
Vant 2 支持现代浏览器以及 Android >= 4.0、iOS >= 8.0。
|
||||
|
10
preview.yml
Normal file
10
preview.yml
Normal file
@ -0,0 +1,10 @@
|
||||
# preview.yml
|
||||
autoOpen: true # 打开工作空间时是否自动开启所有应用的预览
|
||||
apps:
|
||||
- port: 5173 # 应用的端口
|
||||
run: pnpm i && npm run dev # 应用的启动命令
|
||||
command: # 使用此命令启动服务,且不执行run
|
||||
root: ./ # 应用的启动目录
|
||||
name: Vant # 应用名称
|
||||
description: Lightweight Mobile UI Components built on Vue # 应用描述
|
||||
autoOpen: true # 打开工作空间时是否自动开启预览(优先级高于根级 autoOpen)
|
Loading…
x
Reference in New Issue
Block a user