diff --git a/package.json b/package.json index de18d79..8cc35b6 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,11 @@ "description": "红蓝攻防对抗系统前端", "type": "module", "scripts": { - "start": "vite", + "start": "vite preview", "dev": "vite", "build": "vue-tsc && vite build", "preview": "vite preview", + "serve": "vite preview --host", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "type-check": "vue-tsc --noEmit" },