[vike][Warning] You shouldn't import { something } from 'vike/client/router'
when using Server Routing. The 'vike/client/router' utilities work only with Client Routing. In particular, don't import { navigate }
nor import { prefetch }
as they unnecessarily bloat your client-side bundle sizes.
#1449
Labels
Description
I see this warning in the browser logs:
However, I'm not importing anything from that file anywhere:
What could be the reason this message is shown? Also, maybe the wording could be changed to reflect other possible triggers?
The text was updated successfully, but these errors were encountered: