If the vinyl graphics are full size, I'd prime. If they're just a small portion of the side of the cabinet, prime and paint first. Priming and/or painting will make sure that the vinyl has a very smooth and even surface with a consistent pattern that won't show through.