gridsome-plugin-nprogress

0.0.7 • Public • Published

gridsome logo

gridsome-plugin-nprogress

Automatically shows the nprogress indicator when a page is delayed in loading (which Gridsome considers as one second after clicking on a link).

Install

yarn add gridsome-plugin-nprogress
npm i gridsome-plugin-nprogress

Usage

Add gridsome-plugin-nprogress to plugin array with following configurable options to gridsome.config.js

...
plugins:[
    {
        use: 'gridsome-plugin-nprogress',
        options: {
          // Setting a color is optional.
          color: '#0366d6',
          // Disable the loading spinner.
          showSpinner: false,
        }
    }
]

License

GitHub license

Package Sidebar

Install

npm i gridsome-plugin-nprogress

Weekly Downloads

0

Version

0.0.7

License

MIT

Unpacked Size

6.45 kB

Total Files

11

Last publish

Collaborators

  • mohamed_ben