1.使用淘宝npm源
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
2.安装hexo
cnpm install -g hexo hexo init cnpm install
3.安装hexo插件
按照根目录的package.json依次安装各个插件
cnpm install hexo-deployer-git --save
本文共 257 字,大约阅读时间需要 1 分钟。
1.使用淘宝npm源
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
2.安装hexo
cnpm install -g hexo hexo init cnpm install
3.安装hexo插件
按照根目录的package.json依次安装各个插件
cnpm install hexo-deployer-git --save
转载于:https://www.cnblogs.com/huxiaolin/p/5681072.html