I agree, when I got my dragon she would not eat for longer than a week due to the stress of relocation. Give the little guy time, and keep up with the baby food.
Make sure the basking area is 100-105 degrees and the cooler side is around 80-85.
Also make sure you have a good
UVB light. I suggest the repiglow 10.0. If you do not know the age of the bulb i would get a new one. They only last for 4-6 months before needed to be replaced.
These are really important to help your little one digest food.
Also make sure you are mixing in some calcium in the baby food.
Offer the little guy some greens such as collard greens and mustard green. You can also use squash carrots, apples, strawberries, and blueberries . Just make sure you chop them up into tiny tiny pieces no bigger then the space between his/her eyes for easy digestion. You could also make a paste out of the fruits and veggies and mix them with some water and calcium and place it on her nose and let her lick it off.
If you can post a picture of the VIV you might get some helpful ideas about a great set-up for your new friend!!
Hope it works for you!!