Depends entirely on the dog. Some do well, others not. Seems smaller dogs don't do as well as larger dogs, but that is just my opinion from hearing barking from RVs.
How does she do when left alone at home?
If she is crate trained, that is probably the best solution. She probably feels safe an secure there.
If not, take her for a test trip. While you are at your site, leave her in the RV, close the door and blinds, and go outside where she cannot see you and wait. If she starts barking you will know you can't just leave her alone or she will probably bark until you get back. Have heard too many of those from neighboring RVs.
Our Golden just goes into a dark corner in the bedroom and sleeps until we return. Just as she does at home.