If you're using the RealVNC server which comes pre-installed in Raspbian, then you need to enable "experimental direct capture mode" (found under vnc options > troubleshooting) in order to see things like the camera preview. This is because they are drawn directly by the gpu and not part of the X11 desktop that vnc would normally be able to capture.