# iyuu-docs **Repository Path**: ledc/iyuu-docs ## Basic Information - **Project Name**: iyuu-docs - **Description**: IYUU帮助文档 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: http://doc.iyuu.cn - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2024-04-24 - **Last Updated**: 2025-09-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # IYUU文档 使用VitePress搭建,前往 https://doc.iyuu.cn ## 安装依赖 `npm install` ## 启动并运行 脚本将启动具有即时热更新的本地开发服务器,使用以下命令运行它: `npm run dev` 开发服务应该会运行在 `http://localhost:5173` 上。在浏览器中访问 URL 以查看新站点的运行情况吧! ### 端口占用 如果 `5173` 被占用,可在 `.vitepress\config\index.ts` 中修改 `vite.server.port` 即可。 ## Nginx伪静态配置 ```conf location / { index index.html; try_files $uri $uri/ @rewriteapp; } location @rewriteapp { rewrite ^(.*)$ $1.html last; } ``` ## 相关链接 > VitePress官方网站:https://vitepress.dev/zh/