Custom graphQL query
Need to create a custom query inside a custom module to fetch and display data from Magento 2.
The data comes from a custom Magento module that exposes a simple entry list via graphQL.
Using Apollo sandbox I can view the response but I cannot seem to be able to find a step by step guide to achieve implementing the query in my module.
Links I followed
https://docs.vuestorefront.io/v2/composition/extending-graphql-queries.html
https://docs.vuestorefront.io/v2/integrate/supporting-custom-queries.html
https://vuestorefront.io/blog/create-custom-graphql-query-with-vue-storefront-and-commercetools-integration
Extending GraphQL queries | Vue Storefront 2
Vue Storefront 2 documentation
Supporting custom GraphQL queries | Vue Storefront 2
Vue Storefront 2 documentation
Guide to Creating Custom GraphQL Query with Vue Storefront and Comm...
In this article, we will explore how to create a custom GraphQL query for Vue Storefront with Commercetools integration. Follow our guide to learn how to utilize GraphQL to optimize your eCommerce platform and create a seamless shopping experience for your customers.
1 Reply
https://www.youtube.com/watch?v=5nCGb-RCkQU
hey you can check out this video that shows how to use custom quiries
Vue Storefront
YouTube
Using Custom Queries in Vue Storefront 2
Vue Storefront uses Composables that under the hood are sending GraphQL queries to the appriopriate e-commerce platform. In this video tutorial, our Senior Fullstack Developer and Dev 🥑 Under Cover - Jakub Andrzejewski, will guide you through the process of creating and using a custom query so that you can use your custom query to get the data y...