404 Page with Slice Machine in NuxtJS

Hi there,
I created a website using Slice Machine and NuxtJS.
When I open a route, the « Your SliceZone is empty» page shows up. I’d like to render a 404 page instead.
How do I do that?
Best regards

Hello David!

This message indicates that you’ve successfully created a page + route using the Slice zone. You can create a new document that has the UID of 404 and then just add a new Slice with the elements of your 404 page.

Thank you very much. Now it works! :slight_smile:
Have a nice weekend!

1 Like

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