Vue website works only in developer mode

I have Gridsome(Vue) website deployed on netlify and it works only when I set developer mode on in cache settings on cloudflare.

Without developer mode enabled when I click any link nothing happens. Website can be accessed too on netlify subdomain where everythik is ok.
Clearing cache do not make any changes too.

Does anyone know what is wrong?