Do vitamin supplements work if taken wich juiced foods?

I know you're supposed to take vitamins with food, but someone told me that if you take them with juiced foods it doesn't count. Is that right?

I was wondering because I started juicing recently & I would like to take my vitamins with the juiced foods if it would work but I'm not sure if it will now...