This commit is contained in:
新新 committed 2026-04-27 17:03:56 +08:00
commit fe636432d0
154 files changed
+30381

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
$ErrorActionPreference = 'Stop'
$projectRoot = Split-Path -Parent $MyInvocation.MyCommand.Path
$frontendDir = Join-Path $projectRoot 'frontend'
if (-not (Test-Path (Join-Path $frontendDir 'package.json'))) {
throw "Frontend package.json not found: $frontendDir\package.json"
}
Push-Location $frontendDir
try {
npm run dev -- --host 127.0.0.1 --port 5174
}
finally {
Pop-Location
}