From 7d8af0392b85ef94547f105b698191c37111acee Mon Sep 17 00:00:00 2001 From: Aresn Date: Fri, 23 Dec 2022 10:00:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=20Cloud=20IDE=20?= =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E9=A2=84=E8=A7=88=E9=93=BE=E6=8E=A5=20(#161)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create preview.yml * Update README.md * Update README.en-US.md --- README.en-US.md | 4 ++++ README.md | 4 ++++ preview.yml | 10 ++++++++++ 3 files changed, 18 insertions(+) create mode 100644 preview.yml diff --git a/README.en-US.md b/README.en-US.md index db945700..dac58c3f 100644 --- a/README.en-US.md +++ b/README.en-US.md @@ -93,6 +93,10 @@ npm install npm run dev ``` +## Start On Cloud IDE + +[https://idegithub.com/WeBankFinTech/fes.js](https://idegithub.com/WeBankFinTech/fes.js) + ## Feedback | Github Issue | WeChat group | Fes.js开源运营小助手 | diff --git a/README.md b/README.md index e1dd9332..a655854e 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,10 @@ npm install npm run dev ``` +## 在 Cloud IDE 中预览 + +[https://idegithub.com/WeBankFinTech/fes.js](https://idegithub.com/WeBankFinTech/fes.js) + ## 反馈 | Github Issue | Fes.js开源运营小助手 | diff --git a/preview.yml b/preview.yml new file mode 100644 index 00000000..57096052 --- /dev/null +++ b/preview.yml @@ -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)