Created
July 31, 2019 21:41
-
-
Save jamesvidler/7f55400e0d75d6292a89a0f88bdd5063 to your computer and use it in GitHub Desktop.
agility.config.js for React Site
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Our Agility Modules | |
import RichTextArea from './modules/RichTextArea' | |
import PostsListing from './modules/PostsListing' | |
import PostDetails from './modules/PostDetails' | |
import Jumbotron from './modules/Jumbotron' | |
//Our Agility PageTemplates | |
import OneColumnTemplate from './pageTemplates/OneColumnTemplate' | |
export default { | |
guid: 'dea20328-1dbe-4d8d-8d08-28dcd92c18f9', //Set your guid here | |
accessToken: 'defaultlive.72ba69d8caeb98d0a050ec720784a091c2fc72103dfae5204492fa6792cde17a', //Set your accessToken here | |
languageCode: 'en-us', | |
channelName: 'website', | |
caching: { | |
maxAge: 120000 //2 mins | |
}, | |
moduleComponents: { | |
RichTextArea, | |
PostsListing, | |
Jumbotron, | |
PostDetails | |
}, | |
pageTemplateComponents: { | |
OneColumnTemplate | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment