Installation docs: is import required or what?
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 50/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- chart.js, javascript
调研方向
从主 git README 的安装部分开始,并将其与 npm 页面进行比较。记录 Chart.js 4 所需的 Chart.js 插件导入和注册方式,然后确认相同的指导内容在两个文档位置都可见。
由索引模型根据 Issue 内容生成。
描述
Reading the docs, it was not clear to me how to get this work with ChartJS4 in my context of a web app (Vue or React).
Through trial-and-error, I discovered I simply needed to add:
import ChartDeferred from 'chartjs-plugin-deferred'
ChartJS.register(<my other registrations>, ChartDeferred)
Maybe I missed it or I'm overlooking something obvious, this doesn't seem to be mentioned anywhere in the main git readme or the npm page for this library.
- 主要语言
- JavaScript
- 星标
- 113
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
chartjs/chartjs-plugin-deferred 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 35/100
chartjs/chartjs-plugin-deferred#33 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
chartjs/chartjs-plugin-deferred#30 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 25/100
chartjs/chartjs-plugin-deferred#20 · 1 条评论 ·
查看 chartjs/chartjs-plugin-deferred 的全部 Issue
相似的 Issue
-
clawsweeper:needs-product-decision clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security issue-rating: 🦞 diamond lobster P2
难度 2/5 1-3 小时 新手友好度 68/100
openclaw/openclaw#166870 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
⚠ needs intervention document structure changed
难度 2/5 1-3 小时 新手友好度 72/100
-
Bug pulumi/pulumi
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
uoftblueprint/canada-basketball#32 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
andromarces/agent-loops#571 ·
维护者通常 1 天内回复