vant/preview.yml
Aresn 7a740a45d5
docs: add Cloud IDE preview online (#11362)
* Create preview.yml

* Add Cloud IDE link

* Add Cloud IDE link

* Update README.md
2022-12-07 10:56:24 +08:00

11 lines
493 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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)