It is as easy as running Vite command at the same as Rails server.
rails s
Open a 2nd terminal
npx vite
And voilá! Vite runs super fast and hot reloads on any file changes!