ERROR: middleware not initialized, please setup onRequest
and onAfterResponse
options of createApp
#3176
Labels
onRequest
and onAfterResponse
options of createApp
#3176
Environment
Reproduction
https://stackblitz.com/edit/stackblitz-starters-pphrlk?file=my-module%2Fsrc%2Fmodule.ts
Describe the bug
I am trying to embed the i18n module into another module and use it in the server middleware. But when using composable
useTranslation
i get an error:I have corrected the error in the link above. What am i doing wrong?
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: