base_ui/server/plugins
2025-02-01 13:04:55 +03:30
..
customHeader.ts first commit 2025-02-01 13:04:55 +03:30
hooks.ts first commit 2025-02-01 13:04:55 +03:30
readme.md first commit 2025-02-01 13:04:55 +03:30

You can also create plugins that enhance the server's functionality. For example, a custom plugin to add a database connection in server/plugins/db.ts:

import { defineNitroPlugin } from 'nuxt3';

export default defineNitroPlugin((nitro) => { // Add your database connection logic here });