Route Validation
Validation logic can be registered for a route via definePageMeta
.
definePageMeta({
validate: async (route) => {
// return true or false
}
})
Validation logic can be registered for a route via definePageMeta
.
definePageMeta({
validate: async (route) => {
// return true or false
}
})