-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
help to deploy on vercel #1
Comments
@robotpapier vercel and sveltekit has a comprehensive guide about deployment. https://vercel.com/docs/frameworks/sveltekit Using vercel adapter will build your app in public folder, it seems your |
Glad it was helpful @robotpapier ! This example uses If your use case doesn't involve a lot of traffic I'd suggest hosting your site on a small server like the Amazon T2.micro EC2 instance. |
@suhaildawood yeah indeed I saw that afterwards, thanks for the tips ! :) |
Could you elaborate on this? I was under the impression that this example app was a server and could be hosted directly on Vercel. I'm not sure I understand how a SvelteKit app can even be a serverless function. I'm not sure if there's some sort of requirement I'm missing.. |
@aeviou |
Ah yes. My misunderstanding was that I didn't understand that Vercel deployed the SvelteKit app as a single serverless function. Thanks for the clarification! |
Hi @suhaildawood , thanks for this example of sveltekit + websocket.
Works perfectly in development.
But I can't deploy it to vercel, can you give some clues on how we could make this work?
I have this error on Vercel build :
Error: No Output Directory named "public" found after the Build completed. You can configure the Output Directory in your Project Settings.
Thanks
The text was updated successfully, but these errors were encountered: