We study baryons as Skyrmions in holographic QCD with $\mathrm{D}4/\mathrm{D}8/\overline{\mathrm{D}8}$ multi-D brane system in type IIA superstring theory, and also in the nonlinear sigma model with hidden local symmetry. Comparing these two models, we find that the extra dimension and its nontrivial curvature can largely change the role of (axial) vector mesons for baryons in four-dimensional space-time. In the hidden local symmetry approach, the $\ensuremath{\rho}$-meson field as a massive Yang-Mills field has a singular configuration in Skyrmion, which gives a strong repulsion for the baryon as a stabilizer. When the ${a}_{1}$ meson is added in this approach, the stability of Skyrmion is lost by the cancellation of $\ensuremath{\rho}$ and ${a}_{1}$ contributions. On the contrary, in holographic QCD, the $\ensuremath{\rho}$-meson field does not appear as a massive Yang-Mills field due to the extra dimension and its nontrivial curvature. We show that the $\ensuremath{\rho}$-meson field has a regular configuration in Skyrmion, which gives a weak attraction for the baryon in holographic QCD. We argue that Skyrmion with $\ensuremath{\pi}$, $\ensuremath{\rho}$, and ${a}_{1}$ mesons become stable due to the curved extra dimension and also the presence of the Skyrme term in holographic QCD. From this result, we also discuss the features of our truncated-resonance analysis on baryon properties with $\ensuremath{\pi}$ and $\ensuremath{\rho}$ mesons below the cutoff scale ${M}_{\mathrm{KK}}\ensuremath{\sim}1\text{ }\text{ }\mathrm{GeV}$ in holographic QCD, which is compared with other 5D instanton analysis.