base_ui/contents/server/events/readme.md
2025-02-16 16:22:26 +03:30

291 B

  1. Server Events You can define custom server events in the server/events/ directory. These events can be triggered by the server or other parts of your application. Example: server/events/startup.ts

export default defineNitroPlugin(() => { console.log('Server is starting up!'); });