V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
stephen001
V2EX  ›  分享创造

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

  •  3
     
  •   stephen001 · 2017 年 1 月 31 日 · 4091 次点击
    这是一个创建于 3275 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    Typer

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

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

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

    10 条回复    2017-02-03 09:14:48 +08:00
    ericls
        1
    ericls  
       2017 年 1 月 31 日
    棒棒的!
    WildCat
        2
    WildCat  
       2017 年 1 月 31 日
    https://github.com/gatsbyjs/gatsby

    这个貌似就是你的需求 =。=
    yydcool
        3
    yydcool  
       2017 年 1 月 31 日
    说得简单点,我可不可以理解为把 github 的 issue 页面换成一个日历界面显示出来?
    wwyqianqian
        4
    wwyqianqian  
       2017 年 1 月 31 日
    支持一下!
    manxisuo
        5
    manxisuo  
       2017 年 1 月 31 日
    非常棒,尝试了一下。
    不过有个问题,在日记页面不能刷新,一刷新就没了。咋回事儿?
    stephen001
        6
    stephen001  
    OP
       2017 年 2 月 1 日
    @ericls 谢谢:)
    stephen001
        7
    stephen001  
    OP
       2017 年 2 月 1 日
    @yydcool 是的,感觉做成日历一目了然吧...
    stephen001
        8
    stephen001  
    OP
       2017 年 2 月 1 日
    @manxisuo 嗯嗯 是 github pages 不支持 spa 来着 已修复啦 谢谢支持:)
    neo1218
        9
    neo1218  
       2017 年 2 月 2 日
    可以, 我要用一下😄
    manxisuo
        10
    manxisuo  
       2017 年 2 月 3 日
    @stephen001 好神奇,我发现对 https://stephenlyao.github.io/diary/post/202465425 的请求变成了 https://stephenlyao.github.io/diary/?p=/post/202465425 ,这是 react-router 实现的吗?我要研究一下。
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1182 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:55 · PVG 07:55 · LAX 15:55 · JFK 18:55
    ♥ Do have faith in what you're doing.