Vuejs web app to Ionic/Capacitor

I have a VueJS web app that’s totally decupled from the backend. I would like to port it to Capacitor and create Ios and Android apps from the same codebase. Is this realistic? To have the same codebase on mobile and web?
The only part that might be tricky is the websockets for a chat. Would that work out of the box or do I need to do something custom?

Hey, I can assist you on the same for same codebase on mobile and web PM me on SK[Y]PE austin_3383

it should all work out of the box and is pretty straight forward