继续提交

This commit is contained in:
2025-12-19 15:51:26 +08:00
parent 0ce60d78df
commit cf2203e3eb
500 changed files with 3259 additions and 7739 deletions

32
启动前端.bat Normal file
View File

@@ -0,0 +1,32 @@
@echo off
chcp 65001 >nul
echo ================================
echo 萌芽笔记 - 前端开发服务器
echo ================================
echo.
cd mengyanote-frontend
echo [1/2] 检查依赖...
if not exist "node_modules" (
echo 首次运行,正在安装依赖...
call npm install
if errorlevel 1 (
echo 依赖安装失败!
pause
exit /b 1
)
echo 依赖安装完成!
) else (
echo 依赖已安装
)
echo.
echo [2/2] 启动开发服务器...
echo.
echo 前端将在 http://localhost:5173 运行
echo 按 Ctrl+C 停止服务器
echo.
call npm run dev
pause