Leash her up, put her in a sit but stand yourself closest to the opening of the door. Move your hand toward the doorknob and correct if she breaks the sit, sit her. Put your hand on the doorknob, again correcting for breaking the sit and putting her back in the sit. Now, start to open the door. When she breaks, shut the door and repeat the above. It might take you a long time to get out that door, but DO NOT LET HER MOVE until you can stand there with the door wide open with her sitting and waiting. You can do this in one session, you just have to be very good with your timing. As soon as she makes the slightest move, you shut the door and replace her back into the sit. Obviously you don't want to work on this when she has a full bladder! She will learn the rules if you keep up this routine. Make sure to give her a release command so you can control when she gets up. You also want to release her to teach her that YOU tell her when to go and that she cannot decide this for herself.
There is no need for treats; actually getting out the door is reward unto itself. You may want to play a game with her outside or go for a good walk if she does very well with her lesson. Obviously, make sure she is on leash so you can correct her and direct her back inside if she does make a break for it. If she's really insistent about bolting ahead of you, stop the session by unleashing her and putting up her leash and sitting down to watch TV or read a book. Proceed to ignore her for several minutes, then retry. You're going to play the game by YOUR rules, not hers, and she'll have to learn fast that she better stick with your rules or she's going to go nowhere. Dogs pick up on this real quickly!