I want to create graphql to get all content in homepage. How to create graphql if anyone has idea please share. Thanks
1 Answer
Are you trying to retrieve your CMS homepage content via graphql? If so, you should be able to execute the cmsPage
query, passing in the CMS page identified you have defined for your homepage. Devdocs below:
-
Thanks for ans. I tried this but, I want all html and products, category data from homepage using graphql Commented Nov 2, 2022 at 10:00