Join Miters First, Rout Later
Flat, square stock is easier to miter, align and clamp than shaped
parts, so you'll often get better results by routing edges after
assembly. To avoid splintering at corners, make a few light passes
instead of one full-depth cut. Most importantly, start each pass on a
side, not at a corner.