最终搞定之后发现并不是自己想要的效果,决定用vue开发,如下是hexo 搭建的一个流程
npm install hexo-cli -g // 安装hexo-cli
hexo init <folder>
cd <folder>
npm install
_config.yml
title: ***
........
hexo new [layout] <title> // hexo new "About Me"
hexo g // hexo generate
hexo publish // hexo publish
hexo server
hexo -deployer-git
npm install hexo-deployer-git --save
_config.yml
文件deploy:
type: git
repo: *********
hexo clean && hexo deploy
参考:官网
原文:https://www.cnblogs.com/rosendolu/p/10889953.html