Desi-Clans/scripts/dev-frontend.ps1
2026-10-08 02:52:58 +05:30

13 lines
256 B
PowerShell

$ErrorActionPreference = "Stop"
$Root = Split-Path -Parent $PSScriptRoot
Set-Location (Join-Path $Root "frontend")
if (-not (Test-Path "node_modules")) {
npm install
}
if (-not (Test-Path ".env")) {
Copy-Item ".env.example" ".env"
}
npm run dev