From 603902694c25c8198af0dcdc91e1a8375d497248 Mon Sep 17 00:00:00 2001 From: 6360c489aee4323e88771a44 <6360c489aee4323e88771a44@devide> Date: Mon, 14 Nov 2022 12:45:31 +0000 Subject: [PATCH] gitCodeCloud --- preview.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 preview.yml diff --git a/preview.yml b/preview.yml new file mode 100644 index 0000000..a28f7c9 --- /dev/null +++ b/preview.yml @@ -0,0 +1,10 @@ +# preview.yml +autoOpen: false # 打开工作空间时是否自动开启所有应用的预览 +apps: + - port: 5500 # 应用的端口 + run: npm i --registry=https://registry.npmmirror.com && npm run dev # 应用的启动命 + command: # 使用此命令启动服务,且不执行run + root: ./ # 应用的启动目录 + name: expending cards # 应用名称 + description: 我的第一个 App。 # 应用描述 + autoOpen: true # 打开工作空间时是否自动开启预览(优先级高于根级 autoOpen -- GitLab