kakk
kakk
NNuxt
Created by kakk on 1/15/2025 in #❓・help
Using `@nuxtjs/strapi` with Strapi v5
I'm encountering some issues with autoimport with version 2.0.0 of @nuxtjs/strapi module. Specifically, it seems that the correct version of useStrapi composable is not being correctly imported. I end up with the composable being either unavailable or available but with an incorrect v4 version instead of the v5, depending on whether I specify v5 as the desired version in the config. Manually importing the composable does not work either, as it is not included in the modules import.d.ts file in the module's folder within node_modules. Any fix or workaround would be greatly appreciated! See the link below for issue with more details and a repo with reproduction steps. https://github.com/nuxt-modules/strapi/issues/457
6 replies