It's a bit harder for vegans, but still doable. Look up Clarence Kennedy, the vegan Irish weightlifter.
For a deeper dive, I'd recommend this excellent article: https://www.strongerbyscience.com/vegetarian-and-vegan-athle...
I was also supplementing with whey (mainly casein) and creatine.
With the baby I've been eating a lot of crap sugars and put on 5kg of fat. I'm trying to drop 20kg of bodyfat now to get to down to 10-12% body fat. So far I've been able to drop without any real muscle loss as long as I still lift regularly.
I was strictly concerned with being strong, not being cut, so carrying around a little extra wasn't a big deal. The main thing, no one will think you are fat when you are strong, it is quite noticeable. Lastly, the meal I posted was at my strongest, lifting the heaviest. If I wasn't lifting those weights I would have gained quite a bit of fat.
If you are taking a few months off due to a baby, cut back on eating. Always think long-term. Two months off while you adjust to a newborn will do wonders when you get back into it. If you try to do it all, you'll be stressed and not enjoy lifting - or anything for that matter.
https://www.youtube.com/watch?v=hHrysja5lYw
Also another one of his videos