UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

8 lines (7 loc) 331 B
import { assertUsage } from './runtime-server-routing/utils.js'; assertUsage(false, [ 'Server imports are forbidden on the client-side:', " import { something } from 'vike/server'", 'Did you mean the following instead?', " import { something } from 'vike/client/router'", ].join('\n'), { showStackTrace: true });