Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nuxt/nuxt
/ validate.ts
File
validate.ts
packages/nuxt/src/pages/runtime/validate.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createError } from
'#app/composables/error'
2
import
{ defineNuxtRouteMiddleware } from
'#app/composables/router'
3
4
export
default defineNuxtRouteMiddleware(
async
(to, from) => {
Callers
nothing calls this directly
Calls
3
defineNuxtRouteMiddleware
Function · 0.90
createError
Function · 0.90
resolve
Method · 0.80
Tested by
no test coverage detected