thank you @Phil. On a related note about the slice-machine When I try to add modules from the slice machine into a custom type online everything seems to work until I publish then on the preview I see the followinf message
call_to_action error Prismic API references a `slice_type` that could not be matched by the SliceZone. Did you register libraries path correctly? If you did, make sure this `slice_type` can be matched with one of your components.