Create preview.yml

This commit is contained in:
Aresn 2022-12-12 15:30:42 +08:00 committed by GitHub
parent 518141f4b9
commit 701fa3a2c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
preview.yml Normal file
View File

@ -0,0 +1,10 @@
# preview.yml
autoOpen: true # 打开工作空间时是否自动开启所有应用的预览
apps:
- port: 8080 # 应用的端口
run: npm i --registry=https://registry.npmmirror.com && npm run docs:dev # 应用的启动命令
command: # 使用此命令启动服务且不执行run
root: ./ # 应用的启动目录
name: fes.js # 应用名称
description: 一个好用的前端管理台快速开发框架 # 应用描述
autoOpen: true # 打开工作空间时是否自动开启预览(优先级高于根级 autoOpen)