首页 > 其他 > 详细

hexo 博客如何更换电脑

时间:2018-12-01 18:11:51      阅读:193      评论:0      收藏:0      [点我收藏+]

如何在更换电脑后继续使用Hexo部署博客


  1. 重要目录
_config.yml
package.json
scaffolds/
source/
themes/
  1. 在新电脑上配置hexo环境:安装node.js
  2. 安装hexo,安装命令:
npm install -g hexo
  1. 安装好之后,进入hexo/目录
  2. 模块安装,执行命令:
npm install
npm install hexo-deployer-git --save
npm install hexo-generator-feed --save
npm install hexo-generator-sitemap --save
  1. 部署,执行命令:
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 博客如何更换电脑

原文:https://www.cnblogs.com/AbelZone/p/10049984.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!