contentlayerdev / contentlayerdev/website

Some minor issues in getting started code

未关闭
#73 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
132
派生
57
PR 合并指标
30 天内没有已合并 PR

描述

Hey, while following the instructions at https://www.contentlayer.dev/docs/getting-started I ran into a number of small issues.

1. The paths config did not work for me, I'm currently just doing a direct relative import to content layer directory
2. There are various places in the code that when used lead to TS type errors.

Would a PR to address some of point (2) be welcome?

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with the getting started instructions at https://www.contentlayer.dev/docs/getting-started and reproduce the reported paths configuration and TypeScript errors. Identify which examples fail and confirm the expected imports and type-checking behavior; done means the documented examples work without the reported type errors.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
documentation
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。