Why are my custom slices showing twice (duplicate slices)?

Hello Community,

I just started using the slice machine with nuxt.js and am wondering if it's "normal" that my custom slices are showing twice? It seems like there is a duplicate directory somewhere, but I am unable to see it in my code editor (VS Code).

The same applies to when I run prismic sm --create-slice — there I see two folders of the same name.

Please see attached screens for reference.


Looks like I figured out the issue… It looks like my slices were being added twice in both my nuxt.config.js file and sm.json (see attached for changes).

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.