Skip to content

快速开始 ​

欢迎使用 My Docs。本页演示文档站的基本写法。

安装依赖 ​

bash
npm install

本地开发 ​

bash
npm run dev

启动后访问 http://localhost:5173,保存文件即时热更新。

构建与部署 ​

bash
npm run build     # 构建产物输出到 docs/.vitepress/dist
npm run deploy    # 构建并部署到 Cloudflare Pages 生产环境

下一步 ​

Released under the MIT License.