Create preview.yml

pull/1177/head
Aresn 2022-12-07 10:35:36 +08:00 committed by GitHub
parent a78bb40532
commit c4d5d2bb0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

11
preview.yml Normal file
View File

@ -0,0 +1,11 @@
# preview.yml
autoOpen: true # 打开工作空间时是否自动开启所有应用的预览
apps:
- port: 3000 # 应用的端口
run: # 应用的启动命令
command: # 使用此命令启动服务且不执行run
preview: /examples/all.html # 预览文件
root: ./ # 应用的启动目录
name: layui # 应用名称
description: Classic modular Front-End UI library # 应用描述
autoOpen: true # 打开工作空间时是否自动开启预览(优先级高于根级 autoOpen)