What are Nuxt.js modules?

Answer

Modules in Nuxt.js are packages that extend the framework's core functionality and are installed via nuxt.config.ts under the modules array. They can add new composables, components, server routes, build optimizations, or integrations with third-party services. Popular official modules include @nuxtjs/tailwindcss, @nuxt/content, @nuxt/image, @nuxtjs/i18n, and @pinia/nuxt. The Nuxt community maintains a large ecosystem of modules at nuxt.com/modules. Modules run at build time and have access to Nuxt's hooks to deeply customize framework behavior.