I have a customer component, which take experience fragment(XF) as input through dialog box. When i try to publish the page which has custom component, it gives me option to publish XF used in a component but does not give me option is publish the assets associated with the XF. Due to this assets inside XF are not published and page renders as a blank on publish instance.
Are you using "Manage publication" to replicate the page? While defining the scope, it should show you "Published References" option wherein all the referenced assets, content policies, templates etc come and you can chose which one to publish and which one to not.