Baby won’t sleep in crib

Nicolette • Mommy to Mia Skye💜

My daughter is six months old. From the day I brought her home she did not like sleeping in the crib. We decided to try the swing and now she won’t sleep anywhere but there. She is starting to grow out the swing and i don’t know how to get her to sleep in the crib. I stopped the movement of the swing and she sleeps a good 9 hours straight she’s a very good sleeper but I need a solution any ideas?