feat: add start-web script to automate web project setup and execution

This commit is contained in:
Harry 2025-11-05 15:42:34 +08:00
parent 052127c473
commit 7de533a643
1 changed files with 8 additions and 0 deletions

8
dev/start-web Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
set -x
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
cd "$SCRIPT_DIR/../web"
pnpm install && pnpm build && pnpm start