Upgrade to Nextjs from Nuxtjs from testing repo to live repo - slice machine wants to delete all the existing slices

I am trying to migrate from Nuxtjs to Nextjs and using a testing repo, however, when I switch to to the live repo using the slice machine it wants to delete all the existing legacy slides. Is the best course to delete the slices on my nextjs site, upgrade said slices via slice machine and then git checkout them back?

Hi James,

Sorry about the delayed reply. I think you're getting the warning about deleting the Slice because you're maybe generating new Next.js Slices which don’t have the same Version ID like here? What do you think?

The solution would be to copy to locale Custom Types and Slice JSON files into your new project instead of generating new ones.

Thanks.