hexo 博客如何更换电脑

2023-07-29,,

如何在更换电脑后继续使用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

hexo 博客如何更换电脑的相关教程结束。

《hexo 博客如何更换电脑.doc》

下载本文的Word格式文档,以方便收藏与打印。