Skip to content

Glossary: Vue.js

defineEventHandler

A Nuxt server function that turns a plain function into a route handler. Whatever it returns is sent to the browser as JSON.

Where the book teaches it

Related terms

Server routeNuxt