爱意满满的作品展示区。
stephen001

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

  •  3
     
  •   stephen001 · Jan 31, 2017 · 4364 views
    This topic created in 3423 days ago, the information mentioned may be changed or developed.

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

    Typer

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

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

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

    10 replies    2017-02-03 09:14:48 +08:00
    ericls
        1
    ericls  
       Jan 31, 2017
    棒棒的!
    WildCat
        2
    WildCat  
       Jan 31, 2017
    https://github.com/gatsbyjs/gatsby

    这个貌似就是你的需求 =。=
    yydcool
        3
    yydcool  
       Jan 31, 2017
    说得简单点,我可不可以理解为把 github 的 issue 页面换成一个日历界面显示出来?
    wwyqianqian
        4
    wwyqianqian  
       Jan 31, 2017
    支持一下!
    manxisuo
        5
    manxisuo  
       Jan 31, 2017
    非常棒,尝试了一下。
    不过有个问题,在日记页面不能刷新,一刷新就没了。咋回事儿?
    stephen001
        6
    stephen001  
    OP
       Feb 1, 2017
    @ericls 谢谢:)
    stephen001
        7
    stephen001  
    OP
       Feb 1, 2017
    @yydcool 是的,感觉做成日历一目了然吧...
    stephen001
        8
    stephen001  
    OP
       Feb 1, 2017
    @manxisuo 嗯嗯 是 github pages 不支持 spa 来着 已修复啦 谢谢支持:)
    neo1218
        9
    neo1218  
       Feb 2, 2017
    可以, 我要用一下😄
    manxisuo
        10
    manxisuo  
       Feb 3, 2017
    @stephen001 好神奇,我发现对 https://stephenlyao.github.io/diary/post/202465425 的请求变成了 https://stephenlyao.github.io/diary/?p=/post/202465425 ,这是 react-router 实现的吗?我要研究一下。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5328 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 08:12 · PVG 16:12 · LAX 01:12 · JFK 04:12
    ♥ Do have faith in what you're doing.