Went through this at exactly the same age. It lasted a little while, but my daughter is still in a crib at 29 months.
I prep her before I leave her room. I put her down and tell her not to cry for me. It's bedtime. We are all getting ready for sleep. I get her to be content with the fact that I am leaving. I also added some things that make her happy to her rouutine. She gets to turn off her light, turn on her night light, and turn on her mobile. It's almost like she is putting herself to bed, so she is more accepting. And again, I let her know that there is no reason to cry and that if she does, I will not take her out and I will not turn on her mobile again. I stick to that. She eventually stopped crying because I told her that it wouldn't get her anywhere and after many trials, she saw I meant it.
I do still go in if she cries to make sure she is ok and to remind her that she needs to go to sleep in a gentle way. But I don't give her what she wants.