Paul Cook believes it's still one step at a time for his Sligo side as their goal of third spot and European football comes ever closer into view.
"There's nothing done and dusted yet. We're just trying to be as professional as we can," he said.
The league's leading scorers took only 12 minutes to gain the initiative at Oriel Park, with Matthew Blinkhorn finishing off a sweeping move.
Ross Gaynor's sublime equaliser was cancelled out five minutes from the interval when Richie Ryan latched on to a Joseph Ndo free-kick to thunder a shot past Peter Cherrie.
Gaynor drew Dundalk level again on 54 minutes, but with Wayne Hatswell having seen red for two bookings, Sligo seized on their numerical advantage and took control of the contest.
Alan Keane restored their lead within a minute, bagging his second penalty in successive games, and 15 minutes from time Ndo capped a fine performance with the fourth.
Dundalk -- Cherrie, Madden, Burns, Breen (Maher 61), Hatswell; Kearns, Bennett, Miller, Gaynor; Kuduzovic, Tipton.
Sligo Rovers -- Gibson, Keane, Peers, Lauchlan, Davoren; McCabe (Ventre 83), Ndo, Ryan, Doyle; Dillon (O'Grady 71); Blinkhorn (McGoldrick 81).
Ref -- T Connolly (Dublin).