You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @half2me ,
Things progressed with SvelteKit in the last two months, so I just created a new repo with node adapter (https://github.com/adnansmajlovic/svk2), built it, run, and so far everything looks good to me. Usually, I'd store Amplify, Auth, API, etc in stores in the layout file, and then call them from stores in other components where they're needed.
Amplify seems to have SSR support now: https://aws.amazon.com/blogs/mobile/ssr-support-for-aws-amplify-javascript-libraries/
They show some examples for Next.js using:
Amplify.configure({ ...awsExports, ssr: true });
const { Auth, ... } = withSSRContext({ req });
Have you had any success with this in SvelteKit? This is the only hit on google for Amplify + SvelteKit atm :)
The text was updated successfully, but these errors were encountered: