Skip to content

配置下拉的小猫咪

配置下拉的小猫咪

2024年12月31日已解决。

环境

自己开源的 《vuepress-theme-vdoing-one-public》网站模板。

此模板是在Young Kbt blog的开源项目《Kele-Bingtang.github.io》基础上修改为自己的风格而成,感谢大佬开源的模板&感谢原作者开源的vdoing主题。❤️❤️

配置

  • 原文

https://moefyit.github.io/moefy-vuepress/packages/go-top.html#install

  • 本次配置

安装包:

bash
yarn add vuepress-plugin-go-top
# or use npm
npm i vuepress-plugin-go-top #本次

插件选项配置:

js
// .vuepress/config.js
module.exports = {
   plugins: ['go-top'],
}

image-20241231163825314

Responsive breakpoints

js
// .vuepress/styles/palette.styl

$MQWide ?= 1440px
$MQMobile ?= 768px

自己配置:

image-20241231163907004

image-20241231163929085

效果

image-20241231163638542

最近更新