Answers for "gatsby-plugin-nprogress"

0

gatsby-plugin-nprogress

// Install
npm install --save gatsby-plugin-nprogress

// Yarn
yarn add 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,
    },
  },
]
Posted by: Guest on July-13-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language