npm

Need private packages and team management tools?Check out npm Orgs. »

gatsby-plugin-nprogress

2.1.4 • Public • Published

gatsby-plugin-nprogress

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

Install

npm install --save gatsby-plugin-nprogress

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-nprogress`,
    options: {
      // Setting a color is optional.
      color: `tomato`,
      // Disable the loading spinner.
      showSpinner: false,
    },
  },
]

In addition to color – a configuration option specific to gatsby-plugin-nprogress that saves some time customizing the nprogress CSS to match your site colors – you may pass all available nprogress configuration options.

install

npm i gatsby-plugin-nprogress

Downloadsweekly downloads

11,809

version

2.1.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability