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

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

  •  3
     
  •   stephen001 · Jan 31, 2017 · 4751 views
    This topic created in 3578 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
    ericls
    Jan 31, 2017
    1
    棒棒的!
    WildCat
    WildCat
    Jan 31, 2017
    2
    https://github.com/gatsbyjs/gatsby

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