Sorry, meant to add, obviously the vomiting and diarrhea are probably secondary symptoms, which means she is picking this infection
up from something
in the immediate environment. That means something in your home, your garden/backyard area, other dogs or other people that she comes into contact with, or her food or treats fed regularly. If you have changed food, try looking at other things she eats (treats) as a first priority.