hexo init blog
卡住?Google谷姐没好办法,分享下自己办法(其实是在翻译源码换gitee源)
npm install hexo-cli -g
git clone https://gitee.com/weilining/hexo-starter.git blog
cd blog
git submodule init
git submodule update
npm config set registry http://registry.npm.taobao.org
npm i
hexo server
源码
hexo init blog
解析
git clone https://github.com/hexojs/hexo-starter.git blog
cd blog
git submodule init
git submodule update
npm i
换gitee
git clone https://gitee.com/weilining/hexo-starter.git blog
cd blog
git submodule init
git submodule update
npm config set registry http://registry.npm.taobao.org
npm i
转载请注明出处
https://weilining.github.io/201021.html
https://weilining.cf/5.html