Since 1995, numerous close-in planets have been discovered around low-mass stars (M to A-type stars). These systems are susceptible to be tidally evolving, in particular the dissipation of the kinetic energy of tidal flows in the host star may modify its rotational evolution and also shape the orbital architecture of the surrounding planetary system. Recent theoretical studies have shown that the amplitude of the stellar dissipation can vary over several orders of magnitude as the star evolves, and that it also depends on the stellar mass and rotation. We present here one of the first studies of the dynamics of close-in planets orbiting low-mass stars (from $0.6~M_odot$ to $1.2~M_odot$) where we compute the simultaneous evolution of the stars structure, rotation and tidal dissipation in its external convective envelope. We demonstrate that tidal friction due to the stellar dynamical tide, i.e. tidal inertial waves (their restoring force is the Coriolis acceleration) excited in the convection zone, can be larger by several orders of magnitude than the one of the equilibrium tide currently used in celestial mechanics. This is particularly true during the Pre Main Sequence (PMS) phase and to a lesser extent during the Sub Giant (SG) phase. Numerical simulations show that only the high dissipation occurring during the PMS phase has a visible effect on the semi-major axis of close-in planets. We also investigate the effect of the metallicity of the star on the tidal evolution of planets. We find that the higher the metallicity of the star, the higher the dissipation and the larger the tidally-induced migration of the planet.