#Is buildModules deprecated in Nuxt 3?

14 messages · Page 1 of 1 (latest)

misty lake
#

Just saw that adding floating-vue to nuxt in modules key breaks your Nuxt 3 app.

Any tips @stray trout - I'd raise an issue, but not sure if this is an issue in Nuxt or Floating Vue.

#

This is the error btw

faint crest
#

Yes

#

There's no more buildModules

#

you'll see that highlighted in your nuxt.config.ts if you have a buildModules section

#

Nuxt modules are now build-time-only, and the buildModules property used in Nuxt 2 is deprecated in favor of modules.

misty lake
#

Yes, but adding floating-vue in modules breaks the entire app. @faint crest

#

I thought of raising an issue in the "floatingui-vue" project, but it is working fine in RC13, which is why I am confused.

still bolt
#

I will try to reproduce this

#

There is an Issue on Github of floating-vue

#

There is a workaround provided @misty lake maybe you try this

#

@misty lake I will make a PR in floating-vue to fix this problem