Closed xdrago1 closed 3 years ago
hey, @xdrago1 do you still have this problem? If so please provide commands you're using to set up the project. Which OS and Node version you're using.
@xdrago1 any updates here?
I'm having the same issue on plugin initialization:
client.js?06a0:84 Error: [vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function.
at assert (vue-composition-api.esm.js?2854:34)
at getVueConstructor (vue-composition-api.esm.js?2854:104)
at isComponentInstance (vue-composition-api.esm.js?2854:223)
at setupAccessControl (vue-composition-api.esm.js?2854:489)
at reactive (vue-composition-api.esm.js?2854:673)
at ref (vue-composition-api.esm.js?2854:383)
at sharedRef (composables.esm.js?58f0:2530)
at useSessionContext (composables.esm.js?58f0:524)
at eval (shopware.mixed.js?d63b:62)
at _callee2$ (index.js?f26e:66)
The composition-api plugin is first in the nuxt.config.js as loaded plugins
this should be fixed by now
Describe the bug
I followed the getting-started guide for shopware-pwa and used all the default settings for init. However I cannot it to run properly as expected. After running
yarn-dev
orshopware-pwa dev
and the building is complete, I get the error on localhost:3000:[vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function.
Additional context