$ npm install --save gatsby-source-fridge
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: 'gatsby-source-fridge',
options: {
token: 'FRIDGE_API_TOKEN'
}
}
]
}
allFridgePages {
edges {
node {
name
slug
content
images {
url
}
}
}
}
fridgeSettings {
logo {
url
}
copyright
}