A bit more back to Brexit, though in the wider sense that the EU is to blame for the economical stagnation after the crisis (leading to more austerity), leading to broad masses of both left and right voting Leave.
First of all: the UK had its own currency and was fully free from the EU to her own monetary policies.
Secondly: the UK had in 2008 a govt debt of 40% of GDP. That's low and gives enormous financial room to apply fiscal policies after the 2008 crisis, that have as such high multipliers on GDP growth, because of that low % debt and also because of a traditional strong currency and financial standing of GBP (low-risk=>lower interest).
Thirdly: the UK blew up its social cohesion, its very low Gini, in the 80ies under Thatcher, that put the lower incomes in the position of second rank citizens, which went ok-ish as long as the economy as a whole did grow fast enough, but started to get ugly when the growth stagnated. The Gini mainwhile high compared to developed EU countries
Besides all the nationalistics and politics that got so much attention... the UK, Thatcher choose the biggest diverge from the social European model in the 80ies, continued more moderate under subsequent PM's that diverge, and paid the price in the form of broad disappointed masses seeking an escape, a change whatever, a scapegoat (the EU).
The big spin that Farrage-Johnson-Rees-Mogg delivered was to canalise that disappointment towards an opportunity for a hard-right neoliberal change on top of the Thatcher diverge.
Comparing the UK with EU overall, or some EU countries seems ok to me. But for example Greece specifics not anymore related to the UK-EU analysis need perhaps a Greece-EU quarantaine thread.
Let me only add to Greece, that imo Greece screwed up big style like the UK in the 80ies. You could even say since 1974 when the military junta was brought down, because inflation goes almost immediately up to 20% until 1992, and the govt debt from 20% to 100% of GDP in 1992 and continues at 100% until 2008. And just like with Major in the UK, governing by neglect going with the flow consolidating the Thatcher diverge, Greece, continues its devastating economical policies until the 2008 crisis, pooring money from borrowings in the economy landing very soon in the hands of the rich, that do not invest or consume in Greece. The difference being with UK that Greece is in fact in 1992 totally ready for bankruptcy which does not happen because the international Capital lowers gradually its interests on Greece bonds during 1992-2000 from 25% to German rates of 5%.
Saying that the EU is guilty for Brexit or Grexit, for broad masses of unhappy people is misleading. Is ignoring Thatcher, is ignoring that Greece should have defaulted in 1992 with its own currency the Drachma.