基于 github+ react+ react-router 的日记生成器

2017 年 1 月 31 日
 stephen001

基于 github-issues 、 react 和 react-router 的日记生成器

Typer

主要功能是在 issues 上写日记,然后通过 gihub page 生成静态网站 显示日历和对应日期的文章

repo: https://github.com/stephenLYao/Typer

demo: https://stephenlyao.github.io/diary/

4751 次点击
所在节点    分享创造
10 条回复
ericls
2017 年 1 月 31 日
棒棒的!
WildCat
2017 年 1 月 31 日
https://github.com/gatsbyjs/gatsby

这个貌似就是你的需求 =。=
yydcool
2017 年 1 月 31 日
说得简单点,我可不可以理解为把 github 的 issue 页面换成一个日历界面显示出来?
wwyqianqian
2017 年 1 月 31 日
支持一下!
manxisuo
2017 年 1 月 31 日
非常棒,尝试了一下。
不过有个问题,在日记页面不能刷新,一刷新就没了。咋回事儿?
stephen001
2017 年 2 月 1 日
@ericls 谢谢:)
stephen001
2017 年 2 月 1 日
@yydcool 是的,感觉做成日历一目了然吧...
stephen001
2017 年 2 月 1 日
@manxisuo 嗯嗯 是 github pages 不支持 spa 来着 已修复啦 谢谢支持:)
neo1218
2017 年 2 月 2 日
可以, 我要用一下😄
manxisuo
2017 年 2 月 3 日
@stephen001 好神奇,我发现对 https://stephenlyao.github.io/diary/post/202465425 的请求变成了 https://stephenlyao.github.io/diary/?p=/post/202465425 ,这是 react-router 实现的吗?我要研究一下。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/337468

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX