This repository has been archived on 2026-04-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
knowledge-base/user-guide/start-server.bat
T
sujianhua 0b26d3d331 docs(user-guide): 添加本地预览方式说明和启动脚本
解决 file:// 协议 CORS 限制问题:
- README 添加本地 HTTP 服务器启动说明
- 新增 start-server.bat 快捷启动脚本
2026-04-20 02:28:51 +08:00

13 lines
369 B
Batchfile

@echo off
chcp 65001 >nul
echo ========================================
echo 阿尼坊用户指南 - 本地服务器
echo ========================================
echo.
echo 启动 HTTP 服务器...
echo 访问地址: http://localhost:3000/user-guide/
echo.
echo 按 Ctrl+C 停止服务器
echo ========================================
cd /d "%~dp0"
npx serve -l 3000