chore: initial import 萌邮 MengPost (React+Vite + Go+Gin)

Made-with: Cursor
This commit is contained in:
2026-04-17 22:27:57 +08:00
commit 0c31a4b376
40 changed files with 4263 additions and 0 deletions

9
build.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
# 构建前端静态产物到 mengpost-frontend/dist
set -e
ROOT="$(cd "$(dirname "$0")" && pwd)"
cd "$ROOT/mengpost-frontend"
[ -d node_modules ] || npm install
npm run build
echo ""
echo " 前端已构建: $ROOT/mengpost-frontend/dist"