wxt-dev / wxt

⚡ Next-gen Web Extension Framework
https://wxt.dev
MIT License
3.24k stars 118 forks source link

How used the socket.io library in the background.js #713

Open QuietlyChan opened 2 weeks ago

QuietlyChan commented 2 weeks ago

Hello, have you ever used the socket.io library in the background.js of wxt, specifically the "socket.io-client": "^4.7.5" version? While it connects and listens to various events successfully in regular projects, I'm unable to receive success or failure events in my wxt project. How do you typically utilize socket.io in such a setup?

aklinker1 commented 2 weeks ago

Sorry, I can't help with this. Never used socket.io before, but I don't see why it wouldn't work...