Flowers need energy, so usuallythere is a vegetative phase before flowering.
also Remember that not all plants have a vegetative phase. Parasite plants (e.g. Orobanche) build roots toward a host and then directly the flowers, without any vegetative (green) phase.