-
Notifications
You must be signed in to change notification settings - Fork 343
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
Error "No vue dependency found" #544
Comments
I had the same issue, it's because you are declaring any reactive elements (ref() / reactive()) before the plugin is installed in your Vue instance. You can fixing by calling |
Thanks for the hint. Rearranging the imports didn't solve the error, but I got it working by importing the views dynamically instead of at the top of |
I solved this problem by change version
package-lock.json:
|
This is happening starting release 1.0.1. I don't know what exactly is causing this, here are changes in that release: v1.0.0...v1.0.1 |
I get the following error upon loading the app in my browser:
I don't know why it suddenly popped up, but I didn't manage to load my app again since then.
You can find a repro with instructions here: https://github.com/schl3ck/vuejs-composition-api-issue-544
I think the issue is here in line 42. Shouldn't that be
assert(constructor, `No vue dependency found.`)
?composition-api/src/runtimeContext.ts
Lines 38 to 46 in 5484bb7
In my case
vueConstructor
is falsey andvueDependency
has a value.The text was updated successfully, but these errors were encountered: