@echo off chcp 65001 >nul title ETest Frontend Server color 0B echo ======================================== echo ETest Frontend Server echo ======================================== echo. cd /d C:\PPRO\ETest-Vue-FastAPI\ruoyi-fastapi-frontend :: Check node_modules if not exist node_modules ( echo [*] Installing dependencies... call npm install if %errorlevel% neq 0 ( echo [!] npm install failed pause exit /b 1 ) ) echo [*] Starting frontend server... echo [*] URL: http://localhost:80 echo. npm run dev if %errorlevel% neq 0 ( echo. echo [!] Frontend failed to start pause )