Prismic slice-machine in a monorepo using turbo

Hello,

We are using a monorepo using turbo. I have two web application in the mono-repo. I want to use a common slice-machine for both. We are planning to use single repository for both and want to move the slices to a common place. Like to say in packages/ui/slices. How can we achieve that. How can we make the slice-machine common for two applications? We can create a common space for the slices but now sure how to run the common slice machine for the two web applications?

We got the solution, creating a separate next app with a slice machine and importing slices to other apps.

1 Like