# @vuepress/plugin-nprogress (opens new window)
A progress bar plugin based on nprogress (opens new window).
# Install
yarn add -D @vuepress/plugin-nprogress
# OR npm install -D @vuepress/plugin-nprogress
# 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 →