How to preview slices in localhost?

Could someone help with previewing my slice component in my local environment without using slicemachine previews? Am trying to style slices and preview then with mock data without using slicemachine as slicemachine is not showing the mockup of my slices and probably needs to be updated.

Hopefully that makes sense,
Thank you!

Hello @wes.gilmour

Thanks for reaching out to us.

You can set up Previews in your repository to allow you to view draft content on your live website without publishing them publicly. Please follow the Preview Draft article.

Give this a try, and let me know if you have further questions.


Thank you will set this up today.
Does this work with previewing slices? I guess so if I made a page and then used the preview to see it.

Thank you for your help, am trying to get a better understanding

@wes.gilmour Yes, It worked with previewing slices. Give this try and let me know if you have any further questions.