CCL is right. If you're going to switch food, you need to do it gradually.

When she does vomit, is it whole food??? If it is, it may be because she's eating too much too fast.