diff --git a/preview.yml b/preview.yml index 48e3adc5acc31b5898cdbf7f6b07ff22a683b69c..a260332318d0fa31e0e6b4ef34ee132139cf4197 100644 --- a/preview.yml +++ b/preview.yml @@ -2,9 +2,9 @@ autoOpen: true # 打开工作空间时是否自动开启所有应用的预览 apps: - port: 3000 # 应用的端口 - run: npm i && npm run dev # 应用的启动命令 + run: npm run start # 应用的启动命令 command: # 使用此命令启动服务,且不执行run root: ./ # 应用的启动目录 name: 1024云IDE挑战赛项目 # 应用名称 description: 1024云IDE挑战赛项目。 # 应用描述 - autoOpen: true # 打开工作空间时是否自动开启预览(优先级高于根级 autoOpen \ No newline at end of file + autoOpen: true # 打开工作空间时是否自动开启预览(优先级高于根级 autoOpen