0.0.2 • Published 3 years ago

xff-vuepress-plugin-live2d v0.0.2

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago
  • 使用方式

      npm i vuepress-plugin-live2d -S

    然后在'/docs/.vuepress/config.js'里引入

      plugins: [
        [
          "xff-vuepress-plugin-live2d@0.0.1",
          {
            "modelName": "",
            "mobileShow": false
          }
        ]
      ]

    属性

    属性名称类型说明默认值
    modelNameString或者Array模型名称,可选值8个类型(z16,Epsilon2.1,izumi,koharu,shizuku,miku, hijiki, tororo),也可传入一个数组['hijiki','tororo',...](传入数组时刷新页面或者访问不同页面随机展示 )''
    mobileShowBoolean是否在移动端展示,默认不展示false
    positionString模型展示在左下角or右下角'right'