Using Custom API Methods in Vue Storefront 2

preview_player
Показать описание
Vue Storefront uses certain API methods in the middleware layer that are responsible for fetching and modifying the data in the appriopriate e-commerce platform. In this video tutorial, our Senior Developer & Dev Advocate - Jakub Andrzejewski, will guide you through the process of creating a new custom API method that will be registered as a middleware extension and can be used to add custom functionality to the Vue Storefront middleware.

Learn more about Vue Storefront

Follow Jakub as well!
Twitter - @jacobandrewsky
YouTube - @jacobandrewsky

#vuejs #ecommerce #nuxtjs
Рекомендации по теме
Комментарии
Автор

Jakub from the future here. When using this approach with Shopify integration make sure to go:

"client.apolloClient.query" instead of "client.query"

Shopify exports apollo client in a bit different way but the process of creating custom API method is the same later :)

jacobandrewsky
visit shbcf.ru