Setup

Demo site

To use the plugin, you need a Cloudinary account first. Register for a free account if you haven't got one yet.

You can set up the source plugin easily in two following steps:

Installation

  1. Add gridsome-plugin-cloudinary dependency to your Gridsome project.

    yarn add gridsome-plugin-cloudinary
    
    #OR
    npm i gridsome-plugin-cloudinary
  2. Add gridsome-plugin-cloudinary as a plugin to plugins section of gridsome.config.js:

    /* gridsome.config.js */
    
    export default {
      plugins: [
        {
          use: 'gridsome-plugin-cloudinary',
          options: {
            /* Cloudinary configuration options */
          },
        },
      ]
    }

See Options for all available options to initialize Cloudinary source plugin.

And that's it 🎉!