Hi! 👋 Today we're taking a look at Socket.IO and how we can integrate it into our SvelteKit project. As an example, we'll be building a realtime chat app in this demo. Setup the project First, we need a SvelteKit project. If you already have a proje...
linu.us6 min read
Hi Linus, many thanks for your SK/Socket.io approach! It might be the result of SvelteKits latest breaking changes, but I constantly run into the following error: "Error: config.kit.vite has been removed — use vite.config.js instead". Any Ideas how to overcome this issue?
Hi Linus, I've gone through this tutorial and everything works perfectly when I run the dev server, but as soon as I build it and try to run it, whether on my machine using the "build" and "preview" commands, or by deploying to vercel, the sockets don't work. Do you have a github repo that successfully implements this tutorial in production?
liza
Does this still work? Because I get an error