Nuxtjs Guideline: Plugins — Use provide for injection. Description: Provide helpers across app. Do: return { provide: {} } for type safety. Don't: nuxtApp.provide without types. Good Example: return { provide: { hello: (name) => `Hello ${name}!` } }. Bad Example: nuxtApp.provide('hello', fn). Severity: Medium. Docs: https://nuxt.com/docs/guide/directory-structure/plugins.