nprogress Plugin

@vuepress/plugin-nprogress

Integrate nprogressopen in new window into VuePress, which can provide a progress bar when navigating to another page.

This plugin has been integrated into the default theme.

Usage

npm i -D @vuepress/plugin-nprogress@next
const { nprogressPlugin } = require('@vuepress/plugin-nprogress')

module.exports = {
  plugins: [
    nprogressPlugin(),
  ],
}

Styles

You can customize the style of the progress bar via CSS variables:

:root {
  --nprogress-color: #29d;
  --nprogress-z-index: 1031;
}