baby wontcsleep in crib or bassinet

Crystal

baby is only 18 days old and sleeps great if you are holding her in swing or bouncy seat in the daytime. but at night she wont sleep in bassinet or crib. she will only sleep in recliner in my arms. any ideas on how to get her to sleep in crib?