@vuepress/plugin-nprogress
A progress bar plugin based on nprogress. 1.0.0-alpha.31+
Install
yarn add -D @vuepress/plugin-nprogress@next
# OR npm install -D @vuepress/plugin-nprogress@next
Usage
module.exports = {
plugins: ['@vuepress/nprogress']
}
Custom color
Set $nprogressColor
in your site or theme palette.styl
file to change the color of the progress bar (default is $accentColor
).
// .vuepress/styles/palette.styl
// or
// .vuepress/theme/styles/palette.styl
$nprogressColor = red
Also see:
← medium-zoom pwa→