码迷,mamicode.com
首页 > 其他好文 > 详细

Hexo添加2d基础看板娘

时间:2020-05-19 00:36:23      阅读:92      评论:0      收藏:0      [点我收藏+]

标签:save   配置文件   conf   idg   debug   osi   目录   mod   show   

这里我在记录一下2d看板娘的配置,记性不好,之能多搞搞博客

安装npm包

npm install --save hexo-helper-live2d

配置_config.yml

博客根目录的配置文件_config.yml中添加如下配置:

# Live2D
live2d:
  enable: true
  scriptFrom: local
  pluginRootPath: live2dw/
  pluginJsPath: lib/
  pluginModelPath: assets/
  tagMode: false
  debug: false
  model:
    use: live2d-widget-model-hibiki
  display:
    position: right
    width: 150
    height: 350
  mobile:
    show: true

这里的use: 后面填写你要的2的模型样子

模型样式参考:这里

下载模型

npm install live2d-widget-model-hibiki

然后hexo三连发 hexo cl、 hexo g、 hexo s

Hexo添加2d基础看板娘

标签:save   配置文件   conf   idg   debug   osi   目录   mod   show   

原文地址:https://www.cnblogs.com/yuxiangqiezi/p/12913860.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!