Commerce.js source plugin for Gridsome.
yarn add gridsome-source-commercejs
or
npm install gridsome-source-commercejs
In gridsome.config.js
use in plugins
export default {
plugins: [
{
use: 'gridsome-source-commercejs',
options: {
publicKey: 'pk_184625ed86f36703d7d233bcf6d519a4f9398f20048ec',
},
},
],
}