How to build multiple web apps using the same layout, pages, components, services, graphql but changing specific things such as colors, images, styles, images, data, etc. This is possible and easy to achieve, thanks to gatsby-theme
The shared theme build process is not fully functional.
As we are using mono repository, we need to build the project separately to import components, as the mono repository will look for the main entry defined at package.json. So we need to have an output in javascript to import it later at the other projects.
As a workaround, I've just built it using ts-loader, but it needs to be done automatically by Lerna prepare a statement, which will run after every Lerna bootstrap.
Need to automate build process and change some tsconfig build options.
1 - define all configs in the blue/green websites.
2 - check if the pages created by the shared theme matches the configuration used.
1 - mock data from contentful and pass it to shared theme
2 - render elements and make sure that elements were rendered correctly with the data passed.
Hey, cool project.
I tried to add my contentful details in one of the website examples but the graphql server cant find any contentful content (running start:cat). Adding the contentful plugin directly in for example website:cat works though.
Is there a setup step im missing to get contentful running from the theme?