The right-hander struck out four and walked three while pitching in front of a large contingent of family and friends from his nearby hometown of Rialto.
"Yeah, it was exciting, but the main thing is to win," Nolasco said.
Jhoulys Chacin (9-4) allowed one run and six hits in six innings, struck out six and walked three. The right-hander improved to 8-5 in his career against the Dodgers, his most wins against any one team.
Rafael Betancourt pitched the ninth to earn his 15th save in 16 chances.
"Their pitching was just a little bit better the last two days," Dodgers outfielder Skip Schumaker said.
Cuddyer's 16th home run with two outs in the fifth extended Colorado's lead to 3-0.
DJ LeMahieu grounded out to start the inning before Carlos Gonzalez got hit by a pitch from Nolasco and Troy Tulowitzki popped up. Cuddyer homered into the right-field pavilion.
Cuddyer hit an RBI single with two outs in the first gave Colorado a 1-0 lead.
NOTES: Los Angeles drew 206,930 during the four-game series — fifth-largest for such a series in stadium history. ... The Dodgers expect to have CF Matt Kemp back from the DL a few days after the break ends. ... Dodgers OF Carl Crawford came in as a defensive replacement in the ninth after missing two straight games with lower back stiffness. ... Mattingly plans to return home to Evansville, Ind., during the break to visit his mother.