Consider a function $f: \mathbb{R}^n \to \mathbb{R}$ in the variables $x_1, \, x_2, \, \dots, \, x_n$. In multivariable calculus, we learn that the total differential of $f$ is defined as
$$ df = \frac{\partial f}{\partial x_1} \, dx_1 + \frac{\partial f}{\partial x_2} \, dx_2 + \cdots + \frac{\partial f}{\partial x_n} \, dx_n. $$
I'm trying to generalize this to the case where the codomain $f$ is multidimensional. More specifically, consider $f: \mathbb{R}^n \to \mathbb{R}^m$ where $m$ is not necessarily one. Is there a way to define the total differential of $f$, in this case?