vuepress-plugin-live2d-cat ¶
How to use ¶
install
npm i vuepress-plugin-live2d-cat -S
add in
config.js
module.exports = { plugins: [ "vuepress-plugin-live2d-cat", ] }
复制成功
1
2
3
4
5
2
3
4
5
component ¶
<Cat theme=""/>
theme is dark
orlight
<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