0.3.2 ā¢ Published 4 years ago
gatsby-theme-magic v0.3.2
Magic š§āāļø
This is a GatsbyJS theme that is used for sites with headless wordpress.
šØšØšØ WARNING still in development, Not Documented, Use at your own risk šØšØšØ
Installation
npm install --save gatsby-theme-magic
// gatsby-config.js
{
// ... other config
plugins [
{
resolve: 'gatsby-theme-magic',
// Optional Config
options: {
// Wordpress Config
wordpress: {
endpoint: '<YOUR_WORDPRESS_GRAPHQL_ENDPOINT>',
// TODO: Support standar WP and headless
},
// Google Analytics Config
googleAnalytics: {
trackingId: '<GOOGLE_ANALYTICS_TRACKING_ID>'
// Array of Excluded URLs
excludes: [],
cookieDomain: '<GA_COOKIE_DOMAIN>'
},
// Google Tag magager Config
googleTagManager: {
id: '<GTM_ID>',
// Platform your code is running on, defaults to "Gatsby"
platform: '',
}
}
}
]
}