AlokaiA
Alokai3y ago
bokjo

New Storefront SDK integration + Middleware rewrite from old (Nuxt) v2 composables - getting started

Hello VSF people

I'm starting to explore the new Storefront SDK and Middleware, and will have to reimplement our v2 composable implementation we have and translate it to the new SDK one!

Note i don't need an UI/theme or Storefront UI implementation yet.

Looking at the documentation i'm a bit lost...

https://docs.vuestorefront.io/sdk/getting-started says npm install @vue-storefront/sdk but later on on initializing import { initSDK, buildModule } from '@vsf-enterprise/sdk';... what is the difference between @vue-storefront/sdk and @vsf-enterprise/sdk?

Is https://docs.vuestorefront.io/middleware the starting point for the new middleware, aka. old api-client and composables or https://docs.vuestorefront.io/integrations/custom/quick-start is more relevant?

https://github.com/vuestorefront/integration-boilerplate is the right boilerplate generator for the new SDK stuff?

What happened to the community magento SDK initiative, where can the repo be found (lost it with the Discord reorg)?

Also https://github.com/vuestorefront/storefront-next13-boilerplate and https://github.com/vuestorefront/storefront-nuxt3-boilerplate are the relevant new boilerplates for the SDK implemenation or there are some other ones?

p.s where do I report in one place all the issues in the docs and github readmes... there are quite a lot of broken or wring links?
Vue Storefront Docs
If you're setting your Vue Storefront application from scratch, you'll need to configure the SDK Core to create a type-safe SDK that communicates with your Server Middleware.
Vue Storefront Docs
Vue Storefront's Server Middleware is an Express.js application that provides a single place for you to connect to the multiple services that you need to run your storefront.
Vue Storefront Docs
If you're looking to create a custom integration for Vue Storefront, you're in the right place. This guide will walk you through the process of creating a custom integration from scratch.
GitHub
Framework Independent boilerplate containing SDK and API Client starters. - GitHub - vuestorefront/integration-boilerplate: Framework Independent boilerplate containing SDK and API Client starters.
GitHub
Vue Storefront Next 13 Boilerplate. Contribute to vuestorefront/storefront-next13-boilerplate development by creating an account on GitHub.
Was this page helpful?