diff --git a/.gitignore b/.gitignore index bf378b403..77304f33e 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ examples/dist/ yarn-error.log test/unit/coverage .vscode +package-lock.json diff --git a/preview.yml b/preview.yml index 5eebd8fd2..f3822efc3 100644 --- a/preview.yml +++ b/preview.yml @@ -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 # 应用名称