-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.use is not a function #175
Comments
Did some digging and found a similar issue on the This seems to be related to Webpacks Module Federation and loading in another Vue app, so potentially an issue conflicting with how the Vue instance is being loaded from there. |
I have the same issus |
This problem is more like a webpack bug or capability issue |
Find a workaroud for this problem. For
|
For me,set webpack alias can solve the problem; alias: {
'vue-demi': 'vue-demi/lib/v2/index.cjs',
} then clear webpack cache |
I am attempting to use Pinia inside a Vue 2.6.14 app, I have followed the steps outline by Pinia to install the Vue Composition API plugin but when the app loads, a piece of code inside Vue Demi is throwing and after taking a look it seems to be that in the case of the Vue 2, the default property needs to be first accessed before the
use
function can be called.The text was updated successfully, but these errors were encountered: