首先fork这个项目https://github.com/auven/vue-github-issues-blog ,我fork后的项目地址是https://github.com/briteming/vgib,然后编辑config.js文件:
https://github.com/briteming/vgib/blob/master/config.js ,一看就懂。
然后在https://github.com/briteming/vgib/issues/new ,新建issue,并提交。
然后在https://github.com/briteming/vgib的左上角的master处,创建gh-pages分支。然后,即可访问https://your-username.github.io/your-repo-name, 我的是
https://briteming.github.io/vgib。
项目地址: https://github.com/auven/vue-github-issues-blog
演示网站: https://briteming.github.io/vgib
这个项目https://github.com/auven/vue-github-issues-blog源自https://github.com/wuhaoworld/github-issues-blog,不过这个项目的优势是-非owner用户提交的issue(比如https://github.com/briteming/vgib/issues/12)是进不了博客的。
而https://github.com/wuhaoworld/github-issues-blog的情况是:非owner用户提交的issue是可以进入博客的。详见相关帖子:
https://briteming.blogspot.com/2024/12/github-issues-github-issues-blog.html
No comments:
Post a Comment