If you are driving everything from a single 110 volt circuit, my favorite solution is to use a Kreg router switch. It’s nice because you don’t have to do any actual wiring, and it has two outlets already built into the back. I use one for the router and one for the Shapeoko electronics but YMMV, have not seen any issues.
https://www.amazon.com/dp/B002AKJ2FC/ref=cm_sw_r_cp_apa_fabc_s523FbKVCJ8WH