init
This commit is contained in:
commit
fe636432d0
154 files changed
+30381
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user