-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
export 'defineComponent | computed | etc' was not found in 'vue' #25
Comments
You can definitely use it without publishing. Can't find the issue, did you external |
Do you mean using I only installed I noticed when building the plugin with a |
I finally understood what you mean @antfu, I updated my
The only difference I see now is that I'm using Thanks in advance. |
Hi, @antfu I will close this issue since I found out that the origin of the problems are not related to your library but related to using My rough guess is that I opened a feature request on the If you want to play around with the reproduction repo, is this one https://github.com/alvarosaburido/vue-demi-universal-lib Thanks and happy coding. |
Hi, sorry that I'm creating a following issue to #22 but I don't have the right to re-open and I'm still a little bit stuck.
Problem
"export 'defineComponent | computed |. etc' was not found in 'vue'
Since my library exports components created using
defineComponent
it doesn't work in a project withvue 2
Steps
README.md
in my library, changedvue
imports tovue-demi
, added thepeerDependencies
, and installed everything.vue 2 demo
app ---> linknpm run serve
If I understand correctly it's necessary to publish the npm package for vue-demi to work when installing on a Vue 2 or 3 project, is not possible to test/debug locally without publishing it?.
Thanks in advance
The text was updated successfully, but these errors were encountered: