npm install --save hexo-helper-live2d
npm install live2d-widget-model-shizuku #这是模块
其他模块参考:
https://huaji8.top/post/live2d-plugin-2.0/

在配置目录下输入下面的代码:
live2d:
enable: true
scriptFrom: local
pluginRootPath: live2dw/
pluginJsPath: lib/
pluginModelPath: assets/
tagMode: false
log: false
model:
use: live2d-widget-model-shizuku
display:
position: right
width: 150
height: 300
mobile:
show: false
react:
opacity: 0.7

部署:
hexo clean
hexo g
hexo d
成功:

结果展示(显示可能会慢一些):

网友评论