0.1.3 • Published 5 years ago
gatsby-source-abucms
Licence
MIT
Version
0.1.3
Deps
4
Size
27 kB
Vulns
0
Weekly
0
gatsby-source-abucms
Source plugin for pulling data from AbuCMS into GatsbyJS. It creates links between models and asset so they can be queried in Gatsby using GraphQL.
This plugin only works on Gatsby v3+.
Install
npm install gatsby-source-abucms
Configuration
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: `gatsby-source-abucms`,
options: {
baseUrl: "https://xxxxxxxx.execute-api.us-east-1.amazonaws.com",
apiBase: "prod", // deployemnt stage
models: ["blog", "home_page", "about_page", "social_profile"], // modelId
apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
useCache: false, // default is true. set to false if you want to debug.
},
},
],
};