Closed Baroshem closed 2 years ago
It is caused by the usage of the plugin. There must be some inconsitencies in how the plugin works with vue 3, vite and nuxt. As we are importing the components separately recently, I think it would be safe to remove this line from plugin.ts:
plugin.ts
if (instantSearch) { const { plugin } = await import("vue-instantsearch/vue3/es/src/plugin"); nuxtApp.vueApp.use(plugin); }
Tested on both local nuxt project from the module and completely new project with nuxt 3.
@nuxtjs/algolia: nuxt:
It is caused by the usage of the plugin. There must be some inconsitencies in how the plugin works with vue 3, vite and nuxt. As we are importing the components separately recently, I think it would be safe to remove this line from
plugin.ts
:Tested on both local nuxt project from the module and completely new project with nuxt 3.
Version
@nuxtjs/algolia: nuxt:
Reproduction Link
Steps to reproduce
What is Expected?
What is actually happening?