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

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

  •  3
     
  •   stephen001 · 2017-01-31 02:18:49 +08:00 · 3286 次点击
    这是一个创建于 2636 天前的主题,其中的信息可能已经有所发展或是发生改变。

    基于 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-01-31 02:56:40 +08:00
    棒棒的!
    WildCat
        2
    WildCat  
       2017-01-31 03:39:29 +08:00
    https://github.com/gatsbyjs/gatsby

    这个貌似就是你的需求 =。=
    yydcool
        3
    yydcool  
       2017-01-31 05:31:08 +08:00
    说得简单点,我可不可以理解为把 github 的 issue 页面换成一个日历界面显示出来?
    wwyqianqian
        4
    wwyqianqian  
       2017-01-31 18:04:40 +08:00
    支持一下!
    manxisuo
        5
    manxisuo  
       2017-01-31 21:00:02 +08:00
    非常棒,尝试了一下。
    不过有个问题,在日记页面不能刷新,一刷新就没了。咋回事儿?
    stephen001
        6
    stephen001  
    OP
       2017-02-01 23:52:34 +08:00
    @ericls 谢谢:)
    stephen001
        7
    stephen001  
    OP
       2017-02-01 23:54:52 +08:00
    @yydcool 是的,感觉做成日历一目了然吧...
    stephen001
        8
    stephen001  
    OP
       2017-02-01 23:56:10 +08:00
    @manxisuo 嗯嗯 是 github pages 不支持 spa 来着 已修复啦 谢谢支持:)
    neo1218
        9
    neo1218  
       2017-02-02 12:01:28 +08:00
    可以, 我要用一下😄
    manxisuo
        10
    manxisuo  
       2017-02-03 09:14:48 +08:00
    @stephen001 好神奇,我发现对 https://stephenlyao.github.io/diary/post/202465425 的请求变成了 https://stephenlyao.github.io/diary/?p=/post/202465425 ,这是 react-router 实现的吗?我要研究一下。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2982 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 03:18 · PVG 11:18 · LAX 20:18 · JFK 23:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.