a reading progress bar plugin for vuepress
add reading progress bar for vuepress
vuepress version v2.0.0+
yarn add vuepress-plugin-reading-progress-v2
# or
npm i vuepress-plugin-reading-progress-v2
module.exports = {
plugins: [
'reading-progress-v2',
{
/** 是否展示进度条: 默认true */
isSHowProgress: true,
/** 自定义进度条的class: 默认‘’ */
overrideClass: '',
/** 进度条吸附位置:默认top; */
fixed: 'top',
/** 过滤哪些页面不展示进度条,默认[] */
filterPages: [],
},
],
}