Does somebody knows how to do something like but in Nuxt?:
`
// index.js
import express from 'express'
import { PrismaClient } from '@prisma/client'
// How initialize a PrismaClient before Nuxt start?
// Or how initialize it just at the very firsts of the Nuxt loading
// I want to load DB and then do a function at the first running of the App
const prisma = new PrismaClient() // Initialize prisma and inject it to the Nitro context so can be used in Api routes
await refreshUsersOnlineStates(prisma); // Use Prisma and execute this function always on Nuxt start
// Nuxt/Nitro starts
const app = express()
app.use(express.json())
`
I tried server/plugins but I cannot later inject properties to the event.context
Thanks.