https://nuxt.com/docs/bridge/bridge-composition-api#definenuxtplugin "This was a type-helper stub function that is now removed. [...] Remove the defineNuxtPlugin wrapper" And then https://nuxt.com/docs/guide/directory-structure/plugins#creating-plugins which suggests `export default defineNuxtPlugin(nuxtApp => {`