The EU started with the coal and steel initiative, which created a common market for those commodities. It was indeed "peace through trade", but mainly trade.
And the goalpost has since moved very far, I don't see really how preventing countries from sending back illegal immigrants or making same-sex marriage has anything to do with European peace.