stripe / connect-js

Loading wrapper for Connect.js
https://stripe.com/docs/connect/get-started-connect-embedded-components
MIT License
20 stars 8 forks source link

Nuxt3 SSR #146

Open randomnessdev opened 1 month ago

randomnessdev commented 1 month ago

Hello,

How is it possible to use connect-js (loadConnectAndInitialize) with Nuxt3 (SSR) ? Is there a documentation forseen for this?

Thank you

kaiying-stripe commented 4 weeks ago

Hi, connect-js should work with SSR if you use loadConnectAndInitialize from @stripe/connect-js/pure. Our documentation has an example with Next.js: https://docs.stripe.com/connect/connect-embedded-components/quickstart?client=next