UNPKG

vike

Version:

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

8 lines (7 loc) 330 B
import { assertUsage } from './server-routing-runtime/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 });