chore: todo update

This commit is contained in:
hypercross 2026-02-26 10:58:56 +08:00
parent aa4cdeae79
commit 990888a204
1 changed files with 9 additions and 0 deletions

View File

@ -1 +1,10 @@
# todo
## cli
- [ ] 实现`serve`命令
- [ ] 将指定目录下的所有文件以静态文件服务器提供出来
- [ ] 静态文件服务器在找不到路径下文件时,回退到`dist/web`
- [ ] 扫描目录内的`.md`文件,生成索引,其内容匹配`import.meta.glob`的格式,即`{'./file.md': '# content'}`
- [ ] 将索引挂载到`/__CONTENT_INDEX.json`
- [ ] 修改`data-loader`,使其在`cli`环境不依赖`setDataIndex`,而是从`/__CONTENT_INDEX.json`获取索引