A.B.
My son was the same way. I did continue to offer vegetables to him, though. Usually along with something that I knew he liked... like Mac N Cheese. After a while he'd eat the vegetables... some days he'd eat more of them than the thing he usually liked! Now, one day he might love peas and carrots.. and the next day, he wouldn't touch it. Now he's almost two and he likes a wide variety of vegetables.. including broccoli, lettuce, green beans... just all sorts of things.
I don't think you have to force them to eat it, but do continue to offer it to them, and let them see you eating healthy things. They'll eventually come around. Frozen veggies work really well for this, because you can just cook up a bit at a time, and they won't go bad on you!
Good Luck!