安装插件
复制你喜欢的模型名字:hijiki
Epsilon2.1
![Gantzert_Felixande](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/Gantzert_Felixander.gif)
Gantzert_Felixande
![haru](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/haru.gif)
haru
![haruto](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/haruto.gif)
haruto
![hibiki](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/hibiki.gif)
hibiki
![hijiki](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/hijiki.gif)
hijiki
![koharu](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/koharu.gif)
koharu
![miku](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/miku.gif)
miku
![ni-j](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/ni-j.gif)
ni-j
![nico](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/nico.gif)
nico
![nietzche](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/nietzche.gif)
nietzche
![nipsilon](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/nipsilon.gif)
nipsilon
![nito](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/nito.gif)
nito
![shizuku](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/shizuku.gif)
shizuku
![tororo](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/tororo.gif)
tororo
![tsumiki](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/tsumiki.gif)
tsumiki
![Unitychan](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/Unitychan.gif)
Unitychan
![wanko](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/wanko.gif)
wanko
![z16](/2019/05/26/Hexo%E4%B9%8B%E6%B7%BB%E5%8A%A0%E8%90%8C%E8%90%8C%E5%93%92/z16.gif)
z16
将以下代码添加到主题配置文件_config.yml,修改<你喜欢的模型名字>:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| live2d: enable: true scriptFrom: local pluginRootPath: live2dw/ pluginJsPath: lib/ pluginModelPath: assets/ tagMode: false log: false model: use: live2d-widget-model-<你喜欢的模型名字> display: position: right width: 150 height: 300 mobile: show: true
|
建配置文件
- 在站点目录下建文件夹live2d_models,
- 再在live2d_models下建文件夹<你喜欢的模型名字>,
- 再在<你喜欢的模型名字>下建json文件:<你喜欢的模型名字>.model.json
安装模型。在命令行(即Git Bash)运行以下命令即可:
1
| npm install –save live2d-widget-model-<你喜欢的模型名字>
|