一个生成 hexo 博客的脚手架. 不包含主题, 需自行下载
- 全局安装hexo-cli
npm i -g hexo-cli- 安装项目依赖
npm i- 添加主题 新建themes文件夹, 在 hexo主题 挑选一个自己喜欢的主题, 将其clone到themes文件夹
// 将示例主题clone到themes文件夹下
git clone https://github.com/kscript/even.git themes/even
- 生成
hexo g
- 运行服务
hexo s
Repository from Github https://github.comkscript/hexo-server
一个生成 hexo 博客的脚手架. 不包含主题, 需自行下载
npm i -g hexo-clinpm i// 将示例主题clone到themes文件夹下
git clone https://github.com/kscript/even.git themes/even
hexo g
hexo s