I am asking about a slightly different version of this question, where we are given an embedded submanifold $M \subset M'$ and are asked to extend any smooth function on $M$ to one on a neighborhood of $M$ in $M'$. Assuming our function to be real-valued this is clear, a solution is given in the link. However, for an arbitrary codomain I am not quite sure if it can be done using very elementary techniques. I am able to prove it assuming the embedding theorem for general manifolds (Lee, if you are reading this: are you assuming the reader knows that any smooth manifold $M$ can be embedded in finite-dimensional Euclidean space?)
Under the assumption in the parenthesis the result is provable using the same technique. I have been unable to patch things together using charts as the differential structure on $N$ might be weird. Another technique mentioned when discussing with other people is that of tubular neighborhoods, however that theorem is given as an exercise in Chapter 8 in Lee and is unlikely to be assumed as a prerequisite for the introductory chapters.
Am I making my life too difficult here? Can I patch things together using charts?