Ok thank you,
She definitely needs to see a vet.
She could have the parvo virus because it takes three parvo virus vaccines given 3-4 weeks apart before she is covered.
She could also have a gastrointestinal infection.
She may have eaten a non-food object that is stuck in the gastrointestinal tract.
The vomiting of the yellow bile indicates a problem with gastrointestinal motility or too much acid in the stomach.
Those are not things you can diagnose at home.
Until you can get her to a vet you can give her pepto bismol. 1 teaspoon per 10 pounds of dog every 12 hours.
You can also give her Pepcid AC along with the Pepto. 1/4 of a 10 mg Pepcid Ac tablet every 12 hours.
If her gums feel dry then she is most likely dehydrated. You can give her children's pedialyte drink with a syringe or eye dropper every hour until her gums are moist.
To help keep her blood sugar up when she is not eating rub karo syrup, honey, or pancake syrup on her gums every few hours.
Does that help? Do you have any additional questions?