I couldn't figure out why I was getting a CORS error. Everything looked right. Then, after a few hours, I went to the Vue Socket IO GitHub page and looked at the issues. Found this issue, and the stack overflow answer. The issue was a version mismatch with the socket io and the socket io client. I was using a very old version of the client, and a recent version of the socket.io package. Now that is corrected, things are behaving as expected.
"socket.io": "^4.0.1", "socket.io-client": "^4.0.1",
I am nuts about books. I read on all kinds of topics. I attempt to review each book I read for the sake of my own enrichment as well as conversation starters with others.
You never know what you will find in an attic! Usually there is a hodgepodge of things buried under dust.