Kylian Mbappe opened the scoring, while Fabian Ruiz and Vitinha were also among the goals in a comfortable 3-1 win for Paris Saint-Germain over Troyes.