Our Newsletter: vuestorefront.io/developer-ne... Boilerplate Repo: github.com/vuestorefront/inte... Storefront UI docs.storefrontui.io/v2/ Join us on Discord: discord.vuestorefront.io/
Пікірлер: 12
@thilinachathuranga46223 ай бұрын
@VueStorefront team , i have created a simple custom headless backend sdk by using above mechanism. Please guide how to integrate my sdk with vue store front frontend project.Any tutorial?
@Alex-bc3xeАй бұрын
This is just a playground for your backend API, if you want to integrate it in your vue store frontend project just add this add this sdk you made instead of the default ones from alokai. Read documentation for SDKs.
@brahim_boussadjra11 ай бұрын
Does this example use nuxt 2 or 3?
@useAlokai11 ай бұрын
Nuxt 3 😃
@lavleshdubey693111 ай бұрын
same for NextJs ?
@useAlokai11 ай бұрын
When you run the CLI you can select NextJs as a playground. It’s not a final store but rather a playground to test your new enpoints
@sebastianklocke978010 ай бұрын
Okay, and what's the next step? How do I use this middleware now in a new shop?
@GouravAmbekar52110 ай бұрын
I have the same question. I have created a store using magento 2 integration, now I want to get rid of it and use this for Vue Storefront store. Can someone from vue storefront team hel in this regard.
@lavleshdubey693111 ай бұрын
getting error when i am apply for nextJs src\pages\methods\getSomething.tsx (10:17) @ async hitExampleMethodApi 8 | 9 | const hitExampleMethodApi = async () => { > 10 | const data = await sdk.boilerplate.getSomething('test'); | ^ 11 | 12 | setData(data); 13 | };
@useAlokai11 ай бұрын
Hi, I just checked and it seems to be working fine with Nextjs as well. Did you run the build command after creating the new endpoint?
@mijhaelandressamaniegomuno288 ай бұрын
I get the same error
@konradbysiek91474 ай бұрын
@@useAlokai error is still there for Next + npm - `node:events:505 throw er; // Unhandled 'error' event ...`