Setup
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
-
Add
gridsome-plugin-cloudinary
dependency to your Gridsome project.yarn add gridsome-plugin-cloudinary #OR npm i gridsome-plugin-cloudinary
-
Add
gridsome-plugin-cloudinary
as a plugin toplugins
section ofgridsome.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 🎉!