-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The useStrapi composable is missing when version is set to v5
Version
@nuxtjs/strapi: @nuxtjs/strapi-edge 2.0.0-28910259.a188135
nuxt: 3.15.1
Reproduction Link
https://github.com/kasperjha/v5-import-issue
Steps to reproduce
- pull down repo
- pnpm install
- npm run dev
- visist localhost:3000
What is Expected?
- the
useStrapicomposable is auto imported and is ready to be used inapp.vue - the composable has the correct version (v5) if explicitly set
- the composable correctly falls back on v5 when not explicitly set
What is actually happening?
- 500 error when visting localhost
- the
useStrapiis not auto imported (Cannot find name 'useStrapi'.) - the
useStrapicomposable is v4 version when version is not specified
mk4arts, Luk3Pl4ys, cngJo, FRizZL and tomasbarak
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working