# DefineNitroPlugin don't work on nuxt layer - [worker reload] [worker init] defineNitroPlugin is not defined
Allow modules / layers to use auto-imports in nitro context
good first issuenitro馃嵃 p2-nice-to-havelayers
Custom Nuxt module - defineNitroPlugin is not defined
pending triagenitroneeds reproduction
correct typings missing for `defineNitroPlugin` inside `server/plugins`
3.xworkaround availabledxnitro
separate type contexts for nitro, nuxt & modules/nuxt.config
types馃嵃 p2-nice-to-have
Types for `#imports` in server routes are not correct
typesdxbugnitro馃敤 p3-minor
`defineNuxtPlugin` is not defined in plugin context
3.xpending triageneeds reproduction