docs(user-guide): 添加本地预览方式说明和启动脚本

解决 file:// 协议 CORS 限制问题:
- README 添加本地 HTTP 服务器启动说明
- 新增 start-server.bat 快捷启动脚本
This commit is contained in:
2026-04-20 02:28:51 +08:00
parent d05a6cd529
commit 0b26d3d331
2 changed files with 32 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
@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