parksben's blog
parksben's blog project
适合前端开发人员的React轻博客
This is a blog project developed with Create-React-App and other awesome projects in github.
You can use codes from this repository other than articles and images of my blog contents.
如有问题,可加微信:Xreaman,或在此项目提 issue 给我
我的博客:矮大紧的日常
markdown
格式编辑文章标签
对文章进行分类,文章打包后自动分类ToDo
: 自动打包功能正在实现...)github-page
,也可 build
后部署到其他环境clone
本项目代码到你的本地目录
src/posts/
目录下的所有文章目录)yarn
命令安装全部依赖yarn start
启动开发环境(http://localhost:3000)src/siteConfig/site.json
文件为你的站点信息(记得修改头像)public/manifest.json
文件(pwa相关属性)yarn new-post
命令创建新的文章目录(在 src/posts/
目录下)yarn compile
可随时打包文章,打包成功后可正常浏览该文章package.json
文件中的 homepage
一项更改为你的 github
主页地址
push
到你的 github 博客仓库
的 blog
分支(没有的话请创建一个)yarn deploy
即可一键发布到您的 github
主页yarn build
命令,站点的所有静态资源将打包到 build
目录下build
目录下