DEV Community

Cover image for Using Custom Queries in Vue Storefront 2
Jakub Andrzejewski for Vue Storefront

Posted on

Using Custom Queries in Vue Storefront 2

Vue Storefront uses default GraphQL queries under the hood to fetch and modify the data in a certain e-commerce platform (or any other third party service). This is a very useful feature that can speed up your development but what if you would like to customize it to make it work a bit different?

You can do so by utilizing the concept of Custom Queries. These custom values will replace the default ones to achieve completely new result. If you would like to see this on a real example, I have recorded a video some time ago, where I am showing how to use these Custom Queries in a real Vue Storefront 2 application.

Apart from this video, I would highly recommend you to check out following links to learn more about composables and how to extend Vue Storefront 2 application to match your needs best:

Top comments (0)