博客迁移到mac

  1. 将博客项目中除node_modules外的所有文件拷贝到新电脑;
  2. 安装hexo工具npm install hexo-cli -g
  3. 进入项目路径并执行npm install
  4. hexo clean后即可;
  5. 若出现pandoc相关err,打开对应文件后再generate;