hello-butterfly

npm 镜像

npm 淘宝镜像源

1
2
3
4
5
6
# 使用淘宝源
npm install -g cnpm --registry=http://registry.npmmirror.com
# 检查是否安装成功
cnpm -v
# 可以切换回官方源
npm config set registry https://registry.npmjs.org/

安装 Butterfly

参考:Butterfly

1
2
3
4
5
6
# 方法一
npm install hexo-theme-butterfly
#通过 npm 安装并不会在 themes 里生成主题文件夹,而是在 node_modules 里生成
# 方法二
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
#在你的 Hexo 根目录里

快速开始