I've got the project on next.js + prismic. It had only one dependency @prismicio/client 5.1.0. Then I updated and installed all needed packages according to modern documentation ("@prismicio/client": "^7.0.0", "prismic-dom": "2.2.6", "@prismicio/next": "^1.3.2","@prismicio/react": "^2.7.1", "@slicemachine/adapter-next": "^0.3.2", "slice-machine-ui": "^1.4.0"). I created new slice via slicemachine and they work. But can't understand, how can I update or delete old slices? I have a bunch of old slices in "From this Repository" tab section (see screenshot). How can I manage these slices?
Hello @paul_marcia
Thanks for reaching out to us.
To remove Slices, all you need to do is delete the Slices from the Slice Machine. You will then need to Push your Custom Type to Prismic again.
Thanks,
Priyanka
1 Like
Well, Slice Machine doesn't see old slices. They were created when Slice Machine didn't exist. How about that?
Hello @paul_marcia
Were you not able to delete Slices from the Custom Type if it was not part of the Slice Machine?
Thanks,
Priyanka
Yes. I'm not able to delete Slices that were created before Slice Machine was released. I can see them during editing Custom Type.
Hello @paul_marcia
Can you share the repo name and which slice you want to delete? I'll check on my side. You can send me a private message.
Thanks,
Priyanka