vuepress-plugin-live2d
v0.0.7
Published
A vuepress plugin for live2d~
Readme
🍰 vuepress-plugin-live2d
介绍
vuepress的live2d插件,支持8种模型
Usage
使用方式
npm i vuepress-plugin-live2d -S然后在'/docs/.vuepress/config.js'里引入
plugins: [ [ "vuepress-plugin-live2d", { "modelName": "", "mobileShow": false } ] ]属性
属性名称 | 类型 | 说明 | 默认值 --- |--- |--- | --- modelName | String或者Array |模型名称,可选值8个类型(z16,Epsilon2.1,izumi,koharu,shizuku,miku, hijiki, tororo),也可传入一个数组['hijiki','tororo',...](传入数组时刷新页面或者访问不同页面随机展示 ) | '' mobileShow | Boolean |是否在移动端展示,默认不展示 | false position | String |模型展示在左下角or右下角 | 'right'
参与
如果有任何想法或需求,可以在 issue 中写下,同时欢迎各种 pull requests
参考
vuepress-plugin-cat © QiShaoXuan live2DModel © QiShaoXuan
Author
vuepress-plugin-live2d © 聆歌
