@echo off rem Дев-режим: бэкенд (:8000) в отдельном окне + Vite dev-сервер (:5173). rem Откройте http://localhost:5173 — Vite проксирует /api на бэкенд. chcp 65001 >nul setlocal cd /d "%~dp0" call uv sync || exit /b 1 if not exist "frontend\node_modules" ( pushd frontend call npm install || exit /b 1 popd ) echo ==^> Бэкенд ^(:8000^) — отдельное окно start "PVideoDl backend" cmd /k "uv run python -m app.main" echo ==^> Vite dev ^(:5173^) — http://localhost:5173 cd frontend npm run dev