Skip to content

sishenhei7/react-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

说明

这是一个使用react + antd + react-router + issue + es6的单页面静态博客,点击「馒头加梨子」查看博客。

此博客基于github issuegithub api搭建。

Fork 使用

将配置文件src/config/config.js配置修改成自己的账号。

命令使用

安装

npm install

运行

npm start

打包

npm run build

技术栈

  • react@16.2.0
  • react-scripts@1.1.1
  • react-router-dom@4.2.2 -> 路由功能
  • antd@3.2.2 -> ui搭建
  • marked@0.3.16 -> markdown解析
  • highlight.js@9.12.0 -> 高亮
  • isomorphic-fetch@2.2.1 -> fetch
  • babel-plugin-import@1.6.5 -> es6转换

想做的

  • 增加博客加载进度条

  • 增加标签,点击自动分类搜索

  • github登录 + 评论功能

  • component按需加载

  • 使用redux重构

  • 使用react native重构

  • 加入后台服务端