Ante Rebic and Rafael Leao were among Milan's goalscorers.
“We played well against an opponent that preferred to sit back and wait for us to come forward, so we needed the spaces to open up," Pioli told Sky Sport Italia.
“Lecce had an opportunity to get back into it with the equaliser, but we managed to get straight back out in front. It's an important victory, we needed the points and this boost.
“The objective has to be European qualification and catching up to those in front of us in the table. Roma seem quite far away, but then there is the head-to-head on Sunday. There are many points up for grabs in 11 rounds and we've got to try."
On Leao, he added: "Leao has to do more, regardless of today's goal. He came on with the right attitude, so I am happy. I have to ask more of him, because he has so much to give. We're working on making Leao into more of a centre-forward, as he still struggles there."
Need a VPN? Or seeking to switch? Then support Tribal Football by clicking here to sign up with our official partners NordVPN. Not only will you receive the best VPN experience, but also great discounts by signing up via Tribal Football. Thanks for your support!