-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨TinaCMS - Create a Gatsby Starter #1588
Comments
Copied from a chat with Hugo
|
Hey @JackDevAU,
The key point for making Gatsby play nicely with Tina was to force the version of graphql to be the one expected by Tina. To achieve this we used a resolutions property in the package.json file. After that everything went relatively well, except when we deployed on Vercel we had some problems with the visual editing in admin mode because Tina uses an iframe to display the content and we were experiencing CORS issues. To fix that we had to add a headers config in gatsby-config.ts, but I think it's a bit too permissive and we should probably make it better. What do you think? |
Hey @JackDevAU Looks like both PRs are ready to be merged but I cannot do it myself. Can you do it 🙂? |
CC: @JackDevAU
Description
Create a Gatsby Starter that integrates TinaCMS based on the provided proof of concept (POC) repository at https://github.com/JackDevAU/tinatsby_doc. The starter needs to be cleaned up, a custom build script must be added (since Vercel's automagic build script cannot be used), and documentation should be written and published on tina.io.
Acceptance Criteria
Add a custom build script (avoid using Vercel's automagic build script)The text was updated successfully, but these errors were encountered: