J.H.
Hi D., as a mother of a former 2 year old (mine is now 3 and change) i can completely commiserate. My willful independent son offered me the same challenge (and every so often still tests me). Here's what I can say worked well for me;
The essence is-- stick to a routine every day without deviation:
1)let her know an hour in advance that it's soon time to go to bed-- essentially it is WIND DOWN TIME. no stimulating activity from hereon forward. I would first draw her a bath, let her play in it for a little while. Then tell her you are going to read her some books before she goes to bed, and that after you are going to sing her a song or two.
2) in the beginning you can say you are going to stay with her for a few minutes. then tell her you will be right back (go out of the room for a minute)... keep doing this-reassuring her you are not far away... eventually you can leave for longer periods of time.. and then completely separate after you sing her the goodnight song.
2)as far as staying in her bed overnight- i would also suggest a reward if she sleeps all by her big girl self in her bed.. maybe a sticker on a chart and when she completes the chart she gets a surprise toy... keep reminding her of the 'sticker' toy
3)if she awakens in the middle of the night- walk her back to her bed. I know its tempting to allow her to sleep with you (so you get more shuteye)- but soon it will pay off when she gets used to staying in her bed.
4)stick to this every night for atleast a week-- you will see a difference...
Children get used to consistency. As long as you are consistent, and persistent, you will succeed!!