如何将vuestoremont与shopify集成



我正在尝试将vuestoremont与shopify集成,但无法理解
正确的方式
有许多类似
vue-storefront的存储库用于前端
https://github.com/DivanteLtd/vue-storefront
用于后端的vue店面api
https://github.com/DivanteLtd/vue-storefront-api
用于第三方集成的vue店面集成样板(在我们的案例中为Shopify)
https://github.com/DivanteLtd/vue-storefront-integration-boilerplate
这就是我所知道的全部
我在vue店面集成样板中遇到了问题
无法找到与shopify通信的方法
文档说
我们需要在任何平台上构建一个新的应用程序,该应用程序将与vue店面整合样板(vs bridge)和shopify进行通信

这是vsbridge中magento的配置示例(vue店面集成样板)

{"弹性搜索":{"主机":","indexName":"vue_storefront_magento1"},"vsbridge":{"url":"http://example.com:80/","auth":{"用户名":"admin","password":"password123","秘密":"Geiw0qua"},"auth_endpoint":"http://example.com/vsbridge/auth/admin","product_endpoint":"http://example.com/vsbridge/products/index","category_endpoint":"http://example.com/vsbridge/categories/index","taxrule_endpoint":"http://example.com/vsbridge/taxrules/index",
}}
我需要这个配置文件中的帮助来与shopify通信
请告诉我是否有人这样做

我看到的方法是创建一个"中间件"应用程序并将其放置在某个地方。这个应用程序应该建立在集成bolierplate示例的基础上,并服务器从Shopify API获取的数据。

当这个"中间件"或"桥接"应用程序完成时。可以将其连接到VueStorefront,作为vue店面api的替代品。在vue店面配置中,您不会向vue店面api提供URLS,而是向您自己的应用程序URL提供URLS。

最新更新