End co sleeping

My daughter is 10 months old, she’s co slept since birth. I can’t for the life of me get her to sleep in her crib. I will nurse her, then put her in there. I will stay and rub her tummy and try to sing to her. She gets soooo distraught when I put her down that she projectile spits up everywhere.. all over her face and the crib. She will do this even if I’m in there with her rubbing her tummy. I’ve even tried to put her in drowsy and even hard sleep. She wakes up every single time. I need tips and tricks or anything on how to get them to sleep in their own beds..