3.8插件hexo-helper-live2d

插件hexo-helper-live2d

安装

主要是一些二次元的任务(看板娘,面板娘…)

1
npm install -save hexo-helper-live2d

配置

站点的配置文件中

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
live2d:
enable: true
scriptFrom: local
pluginRootPath: live2dw/
pluginJsPath: lib/
pluginModelPath: assets/
tagMode: false
model:
use: live2d-widget-model-wanko #选择哪种模型
display: #放置位置和大小
position: right
width: 150
height: 300
mobile:
show: false #是否在手机端显示

安装需要显示的模型

1
npm install live2d-widget-model-wanko