Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import myCustomTheme from '@my-custom-theme'
import { MyCustomFooter, MyCustomHomepage } from '@my-component-library'
export default {
// overriding theme
theme: myCustomTheme, // OR
theme: originalTheme => myCustomTheme,
// component presence
componentPresence: {
homepage: {
editorPicks: false
},
footer: false, // OR
footer: {
newsletter: false
}
},
// component content
componentContent: {
footer: {
companyInfo: "company information, address",
links: {
support: ["link 1", "link 2"],
resources: ["link 1", "link 2"]
}
}
},
// overriding components
components: {
// homepage: MyCustomHomepage,
footer: MyCustomFooter
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.