diff --git a/src/nuxt/module.ts b/src/nuxt/module.ts index e74adfbd..3a5ccbcd 100644 --- a/src/nuxt/module.ts +++ b/src/nuxt/module.ts @@ -15,7 +15,7 @@ export default defineNuxtModule({ const { resolve } = createResolver(import.meta.url) // Push options and merge to runtimeConfig - nuxt.options.runtimeConfig.motion = defu(nuxt.options.runtimeConfig?.motion || {}, options) + nuxt.options.runtimeConfig.public.motion = defu(nuxt.options.runtimeConfig.public.motion || {}, options) // Add templates (options and directives) addPlugin(resolve('./runtime/templates/motion'))