如何在更换电脑后继续使用Hexo部署博客
重要目录
_config.yml
package.json
scaffolds/
source/
themes/
在新电脑上配置hexo环境:安装node.js安装hexo,安装命令:
npm install -g hexo
安装好之后,进入hexo/目录模块安装,执行命令:
npm install
npm install hexo-deployer-git --save
npm install hexo-generator-feed --save
npm install hexo-generator-sitemap --save
部署,执行命令:
hexo generate --config your-config.yml
hexo server --config your-config.yml
hexo deploy
参考链接:https://blog.csdn.net/eternity1118_/article/details/71194395?ref=myread
转载于:https://www.cnblogs.com/AbelZone/p/10049984.html