gitee.ZC_blog快速方案

1、

复制URL,到hexo的配置文件_config.yml

……
deploy:
  type: git        # type为git
  repo: https://gitee.com/lxydd/blog_matlab  # 仓库的URL
……

2、插件

 CMD在 blog的目录下,执行命令:(个人的感觉是,在Windows环境下,CMD在哪个目录下 npm就把插件安装到 这个目录下的node_modules文件夹中?)

 2.1、(网页使用图片时使用的)

  npm install https://github.com/CodeFalling/hexo-asset-image --save  或  npm install hexo-asset-image --save

 2.2、(编辑blog文章用的)

  npm install --save hexo-admin

 2.3、(发布静态网页用的)

  npm install hexo-deployer-git --save

3、

4、

5、

猜你喜欢

转载自www.cnblogs.com/osskill/p/11651307.html