i think if the wheel was just slipping on the path you're riding you would be able to distinguish it from your drivetrain slipping.
drivetrain slippage is usually an indication of a loose cog/lockring. make sure everything is tightened. check your chainring bolts.