© 2026 Hedgehog Software, LLC
// nuxt.config export default defineNuxtConfig({ ui: { hello: 'world' } });
// module export default defineNuxtModule<ModuleOptions>({ meta: { name: 'ui', configKey: 'ui', }, setup(options, nuxt) { // options - module options // Add plugin addPlugin(resolve('./runtime/plugin')); } });
// /runtime/plugin export default defineNuxtPlugin((nuxt) => { // How to access module options here ? });
Join the Discord to ask follow-up questions and connect with the community
Nuxt Community Chat Server
31,632 Members