Skip to content

Commit

Permalink
update preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
icarusion committed Nov 3, 2022
1 parent 7fed4a3 commit 042aaeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ examples/dist/
yarn-error.log
test/unit/coverage
.vscode
package-lock.json
2 changes: 1 addition & 1 deletion preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
autoOpen: true # 打开工作空间时是否自动开启所有应用的预览
apps:
- port: 3000 # 应用的端口
run: npm i --registry=https://registry.npm.taobao.org && npm run dev # 应用的启动命令
run: npm i --registry=https://registry.npmmirror.com && npm run dev # 应用的启动命令
command: # 使用此命令启动服务,且不执行run
root: ./ # 应用的启动目录
name: View UI Plus # 应用名称
Expand Down

0 comments on commit 042aaeb

Please sign in to comment.