初始化提交

This commit is contained in:
2025-12-13 21:35:46 +08:00
parent 487457e0a9
commit 4573a21f88
54 changed files with 20690 additions and 0 deletions

25
start-frontend.bat Normal file
View File

@@ -0,0 +1,25 @@
@echo off
setlocal
title Mengya Profile - Start Frontend
echo [INFO] 启动前端开发服务器...
cd /d "%~dp0mengyaprofile-frontend"
echo [INFO] 当前目录:%CD%
where npm >nul 2>nul
if errorlevel 1 (
echo [ERROR] 未检测到 npm请先安装 Node.js含 npm
exit /b 1
)
if not exist "node_modules" (
echo [INFO] 检测到缺少依赖,正在安装...
npm install --prefix "%CD%"
if errorlevel 1 (
echo [ERROR] 依赖安装失败。
exit /b 1
)
)
echo [INFO] 运行npm start
npm start --prefix "%CD%"
endlocal