When I go to the prismic repo and select a language, I noticed that all new repos have the legacy builder enabled by default. I am not able to find away to disable this legacy builder as well.
I prefer not to have the legacy builder available at all as this can be confusing for clients. They start editing custom types and they they're creating content. What am I missing?
Perhaps I am the only one who is noticing this issue, however. I have a workaround that appears to allow me to create Prismic repos using slicemachine without triggering the Legacy Builder. Below are my commands for spinning up a new NextJS+Prismic project:
yarn create next-app --tailwind
# cd into your new Next project
npx @slicemachine/init@1.1.13
# create a new repo
# run the init again but with the latest version
npx @slicemachine/init@latest
# this migrates the project from using sm.json to slicemachine.config.json etc
If this helps you too, I would love to hear from you.
Did you create the new repository from the Slice Machine command or from the Dashboard?
Some repositories have a toggle option to disable the Legacy Builder. You can find it in your repo's Settings > Repository.
@Pau
Yes. At the time of the post, I created the next project as I usually do (code in the original post). The legacy builder was in the left sidebar, and when I went to the settings of the Prismic repo, the toggle was not an option.