安装插件
npm i hexo-helper-live2d -S
设置
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| # _config.yml # Live2D ## https://github.com/EYHN/hexo-helper-live2d live2d: enable: true # enable: false scriptFrom: local # Default # scriptFrom: jsdelivr # jsdelivr CDN # scriptFrom: unpkg # unpkg CDN # scriptFrom: https://cdn.jsdelivr.net/npm/[email protected]/lib/L2Dwidget.min.js # Your custom url model: #use: live2d-widget-model-shizuku # npm-module package name # use: wanko # folder name in (hexo base dir)/live2d_models/ # use: ./wives/wanko # folder path relative to hexo base dir use: https://cdn.jsdelivr.net/npm/live2d-widget[email protected]/assets/shizuku.model.json # Your custom url
|
模型
模型地址
二次开发
添加气泡互动