naive-ui
naive-ui copied to clipboard
docs: add contributors
build:site 得把 env GITHUB_TOKEN
注入进去,得在 vercel 那边加一下
scripts/gen-github-commits.js
const octokit = new Octokit({
auth: process.env.GITHUB_TOKEN
})
长这样
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
naive-ui | ❌ Failed (Inspect) | May 26, 2023 9:58am |
https://github.com/tusen-ai/naive-ui/pull/4412 https://github.com/tusen-ai/naive-ui/pull/4808
我看你这个是 element-plus
中的代码, 我写了俩个,一个是Github GraphQL 但没存 json
,一个git log
先把 git log
的关了. 不好用
#4412 #4808
我看你这个是
element-plus
中的代码, 我写了俩个,一个是Github GraphQL 但没存json
,一个git log
没看到你也写了这玩意,我个人感觉生成一个json比较好,实现上都差不多
是的,的确是生成 json
比较好, 应该可以解决 GraphQL API 速率
问题 , 我为了避免重现 Iview事件
,没完全采用 element-plus
,所以参考的思路写的
我写的时候想生成 json
,但不确定作者要将 json
放在哪,所以就没写,只写到获取并渲染成功