hexo 配置 添加 Live2D 看板娘
参考:https://github.com/EYHN/hexo-helper-live2d/blob/HEAD/README.zh-CN.md
hexo 添加 Live2D 看板娘
安装
安装模块
1
| $ npm install --save hexo-helper-live2d
|
配置
请向Hexo的 _config.yml 文件或主题的 _config.yml 文件中添加配置
1 2 3 4 5 6 7 8 9 10 11
| live2d: enable: true pluginModelPath: assets/ model: use: live2d-widget-model-epsilon2_1 display: position: right width: 150 height: 300 mobile: show: false
|
设置分为helper特有的和公共的, 你需要把他们合并放到 _config.yml 中
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
live2d: enable: true scriptFrom: local pluginRootPath: live2dw/ pluginJsPath: lib/ pluginModelPath: assets/ tagMode: false debug: false model: use: live2d-widget-model-wanko
|
模型
安装模型
1 2
| $ npm install live2d-widget-model-epsilon2_1
|
进阶:能说话、能换装
https://blog.csdn.net/qq_39610915/article/details/90679768