我的主頁:https://www.yuehan.onlinejavascript
如今博客:www.wangyurui.topjava
博客根目錄選擇cmd
命令窗口或者git bash
輸入如下代碼,安裝插件git
npm install --save hexo-helper-live2d
做者動畫展現網站https://huaji8.top/post/live2d-plugin-2.0/npm
live2d-widget-model-chitose live2d-widget-model-epsilon2_1 live2d-widget-model-gf live2d-widget-model-haru/01 (use npm install --save live2d-widget-model-haru) live2d-widget-model-haru/02 (use npm install --save live2d-widget-model-haru) live2d-widget-model-haruto live2d-widget-model-hibiki live2d-widget-model-hijiki live2d-widget-model-izumi live2d-widget-model-koharu live2d-widget-model-miku live2d-widget-model-ni-j live2d-widget-model-nico live2d-widget-model-nietzsche live2d-widget-model-nipsilon live2d-widget-model-nito live2d-widget-model-shizuku live2d-widget-model-tororo live2d-widget-model-tsumiki live2d-widget-model-unitychan live2d-widget-model-wanko live2d-widget-model-z16
選好對應的模型,使用 npm install 模型的包名
來安裝ruby
好比我選擇的的是live2d-widget-model-hijiki
模型包bash
在hexo博客根目錄選擇cmd
命令窗口或者git bash
輸入如下代碼hexo
$ npm install live2d-widget-model-hijiki
執行安裝就完事了post
請向Hexo
的 _config.yml
文件添加配置.動畫
打開我的Hexo博客文件根目錄下的 _config.yml
文件,在最後添加一下代碼
示例:網站
live2d: enable: true scriptFrom: local pluginRootPath: live2dw/ pluginJsPath: lib/ pluginModelPath: assets/ tagMode: false debug: false model: use: live2d-widget-model-hijiki display: position: right width: 150 height: 300 mobile: show: true