Skip to content

开始阅读 ​

在线阅读 ​

访问 notes.yunyoujun.cn 在线阅读笔记内容。

更多笔记内容请参阅:语雀笔记 | GitHub Wiki | 飞书知识库

本地开发 ​

如果你想在本地运行此笔记站点:

前置条件 ​

  • Node.js >= 18
  • pnpm >= 9

克隆仓库 ​

bash
git clone https://github.com/YunYouJun/notes.git
cd notes

安装依赖 ​

bash
pnpm install

启动开发服务 ​

bash
pnpm docs:dev

访问 http://localhost:5173 查看笔记。

构建 ​

bash
pnpm docs:build

预览构建结果 ​

bash
pnpm docs:preview

项目结构 ​

notes/
├── docs/                   # 文档站点
│   ├── .vitepress/        # VitePress 配置
│   ├── guide/             # 指南
│   ├── api/               # API 文档(自动生成)
│   └── public/            # 静态资源
├── packages/              # 工具包
├── package.json
├── pnpm-workspace.yaml
└── tsconfig.json

相关链接 ​

Released under the MIT License.