hexo 添加live2d模型

  1. 插件下载
    1
    npm install --save hexo-helper-live2d
  1. 模型下载
    模型git地址

    1
    npm install live2d-widget-model-miku
  2. _config.yml配置live2d

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# live2d
live2d:
enable: true
scriptFrom: local
pluginRootPath: live2dw/
pluginJsPath: lib/
pluginModelPath: assets/
tagMode: false
debug: false
model:
use: live2d-widget-model-miku
display:
position: left
width: 150
height: 300
mobile:
show: true
react:
opacity: 0.7

image