初始化提交
This commit is contained in:
26
start-frontend.bat
Normal file
26
start-frontend.bat
Normal file
@@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
title 萌芽短链接 - 前端服务
|
||||
|
||||
echo.
|
||||
echo ========================================
|
||||
echo 萌芽短链接 - 前端服务启动中...
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
cd mengyalinkfly-frontend
|
||||
|
||||
echo [1/2] 检查依赖...
|
||||
if not exist "node_modules" (
|
||||
echo 正在安装依赖,请稍候...
|
||||
call npm install
|
||||
)
|
||||
|
||||
echo [2/2] 启动前端服务...
|
||||
echo.
|
||||
echo 前端服务地址: http://localhost:5173
|
||||
echo.
|
||||
|
||||
call npm run dev
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user