naive-ui icon indicating copy to clipboard operation
naive-ui copied to clipboard

docs: add contributors

Open Volankey opened this issue 1 year ago • 6 comments

build:site 得把 env GITHUB_TOKEN 注入进去,得在 vercel 那边加一下

scripts/gen-github-commits.js

const octokit = new Octokit({
  auth: process.env.GITHUB_TOKEN
})

长这样 image

Volankey avatar May 25 '23 07:05 Volankey

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

vercel[bot] avatar May 25 '23 07:05 vercel[bot]

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

jahnli avatar May 25 '23 08:05 jahnli

先把 git log 的关了. 不好用

jahnli avatar May 25 '23 09:05 jahnli

#4412 #4808

我看你这个是 element-plus 中的代码, 我写了俩个,一个是Github GraphQL 但没存 json,一个git log

没看到你也写了这玩意,我个人感觉生成一个json比较好,实现上都差不多

Volankey avatar May 26 '23 02:05 Volankey

是的,的确是生成 json 比较好, 应该可以解决 GraphQL API 速率问题 , 我为了避免重现 Iview事件 ,没完全采用 element-plus ,所以参考的思路写的

jahnli avatar May 26 '23 02:05 jahnli

我写的时候想生成 json,但不确定作者要将 json 放在哪,所以就没写,只写到获取并渲染成功

jahnli avatar May 26 '23 02:05 jahnli