vuepress-plugin-live2d-cat

How to use

  1. install npm i vuepress-plugin-live2d-cat -S

  2. add in config.js

module.exports = {
  plugins: [
    "vuepress-plugin-live2d-cat",
  ]
}
复制成功
1
2
3
4
5

component

<Cat theme=""/>
theme is darkorlight

<Cat :theme="theme" style="position:fixed;left:0;bottom:50px" />
复制成功
1

Tip

  • This plugin supports vuepress 1.x
  • This plugin displays a white and black cat based on the theme
  • This plugin is adapted from vuepress-plugin-cat

Demo

@artiely @ % cd ..