You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the instructions for the Legacy API for version 2.6 in the migration guide.
But as soon as I open my app, I get an error: [vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function.
I tried poking around, and it seems it is caused by the import of createI18n , it also tries to use the file vue-composition-api.mjs to check for the installation of composition API, but my app will refer to vue-composition-api.common.js when calling Vue.use(VueCompositionAPI)
That might have something to do with it.
I already tried a fix I saw on Stackoverflow about moving the CompositionAPI import and Use to a different file, but that did not help.
Expected behavior
The migration guide to give correct working instructions
Reproduction
Have a Vue app on 2.6.
Install Dependencies
Try to perform the migration guide to install vue-i18n-bridge
Reporting a bug?
I followed the instructions for the Legacy API for version 2.6 in the migration guide.
But as soon as I open my app, I get an error:
[vue-composition-api] must call Vue.use(VueCompositionAPI) before using any function.
I tried poking around, and it seems it is caused by the import of
createI18n
, it also tries to use the file vue-composition-api.mjs to check for the installation of composition API, but my app will refer to vue-composition-api.common.js when callingVue.use(VueCompositionAPI)
That might have something to do with it.
I already tried a fix I saw on Stackoverflow about moving the CompositionAPI import and Use to a different file, but that did not help.
Expected behavior
The migration guide to give correct working instructions
Reproduction
Have a Vue app on 2.6.
Install Dependencies
Try to perform the migration guide to install vue-i18n-bridge
System Info
Screenshot
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: