From 82c64e419a69e2182b30075a798c48199e6d89f1 Mon Sep 17 00:00:00 2001 From: Enkot Date: Fri, 21 Jun 2024 16:32:36 +0300 Subject: [PATCH] fix(nuxt): make options public --- src/nuxt/module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'))