Thanks @Anish-Sinha for the response. With the above approach as far as I know only html can be exported, but can I also export .css and .js along with the html with this approach. If any other scenario could you please help. Thanks
How can I display AEM experience fragment in other sites like (ex: Hybris) including .css and .js. How can I render Experience Fragment and show it in Hybris page?