Should a high elf wizard use weapons instead of cantrips?

As a new DM I’m running my first adventure for my kids (LMoP). My daughter took the high elf wizard and she was wondering whether she should use weapons instead of her cantrips when she runs out of spell slots.

Indeed, high elf being proficient with weapons, she could use a bow who does 1d8+2, adding also the modifier to the attack roll, or a sword instead of shocking grasp for example… When cantrips don’t get any modifiers.

Not really sure what to answer her. Thanks ahead!