Merge next 13 Blog template + Sanity Shopify connect #3839
Unanswered
Thisisjuke
asked this question in
Sanity Studio Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone! I am coming here after a short post on your slack ✌️
Context
One of our client is right now on Shopify + has a small NextJS application use to book an appointment. I have to POC a solution, we want :
After some search, we found the majority of what we are looking for here: https://www.sanity.io/docs/sanity-connect-for-shopify !
After all the euphoria around Hydrogen, we have decided to keep working on NextJS. So this integration seems pretty close of what we want to start with : https://www.sanity.io/blog/nextjs-authoring-experience-with-sanity
My Goal
The 2 examples are working perfectly fine on their own.
Right now, I am trying to merge the 2 studios (Only speaking about the studio, not the React front-end part). My first goal is to have a working studio with:
Issue
How to merge config files ?
I am keeping an eye on changelogs like:
Breaking change: createConfig is now defineConfig
Now, one of this repository is using
sanity.config.ts
with acreateConfig
, the other one asanity.json
.sanity.json
looks like this:I want to add plugins + parts inside the
createConfig
.How to add
parts
management inside theNextJS 13 Blog
starter ?Right now, just by adding the key
parts
, I have the following error:I have also this error that I have shut inside my eslint config as shown in the documentation:
Thread here with broken link
How to add Plugins ?
How can I add these plugins into
createConfig
?Can't put theme like this out of the box, I need to use theme like the desktool plugin I think:
I check it here : #3839 but as there is no solid documentation, I am totaly lost on how to migrate Sanity Connect to V3 : is this something that you will do on your side when V3 will be released ? Do I have to do it myself ?
I tried to be as exhaustive as I can, but it seems that I can find too few information about
createConfig
inside the documentation.Thx for your time ! ✌️
Beta Was this translation helpful? Give feedback.
All reactions