-
Notifications
You must be signed in to change notification settings - Fork 8
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
Vue 3 Support - Getting a Component is missing template or render function with Vue 3 RC #17
Comments
@EKami I still need to work on making a version compatible with I was waiting for stable PRs are welcome ... Thanks! |
@palerdot I see, sorry I thought all Vue 2 components were compatible with Vue 3, I just learned recently there were breaking changes. I'm just starting with Vue, I don't think I'll be of much use for the PR but I will see what I can do. |
I see following message here - https://v3.vuejs.org/guide/migration/introduction.html#notable-new-features
I will wait for official migration instructions. Meanwhile, if you come across any information about Vue 3 migration pls post here. |
Understood, thanks :) |
Might be related to Will keep a tab on this issue and see if it fixes this |
@EKami As per vitejs/vite#610 this seems to be fixed by |
@EKami Thanks for checking out. I'm not sure why they closed the issue while the PR for the fix is open and yet to be merged - vitejs/vite#841. Will keep an eye on this issue and see if it fixes this problem. |
Understood, thanks a lot for your support :) |
@EKami Sorry I posted the reply wrongly in this issue. I was intending to reply in the vite repo. I will still keep this issue open and follow up on the main issue - vitejs/vite#610, and make sure a release in vite fixes this issue. Sorry for the trouble. |
I just asked them to reopen the issue so that people have a better idea on where the problem comes from. (vitejs/vite#610 (comment)) |
@EKami If this issue is a deal breaker for your projects, you could manually clone the You could switch back to published npm package by doing |
No worries :)
For the moment I can do without, but eventually, I will need it, as soon as the vite repo gets updated I'll update you if I still get the error or not. Thanks a lot! |
@palerdot Any update on Vue 3 support for this? |
@RitikPatni This was an vite issue. With Vite updated to latest version, this should not be a problem. Please confirm if you are still facing this issue. @EKami Can you please confirm if your issue was fixed after upgrading to latest Vite? Since Vue 3 is api compatible with vue 2, it should work out of box without any issues (unless we hit any vite or other build related issues.) |
@palerdot I tried installing it in Vue 3 Vue CLI project and it won't install it because of vue 2 being one of its peer dependencies
Then after trying to install it by force and then using it I was getting this error
After this, I tried to make changes in vue.config.js but had to drop it as I needed something quick and went with another approach |
@RitikPatni Thanks for the info. The component itself would run without problem on a Vue 3 codebase. One of the problems with upgrading is
In any case, Let me try and make an upgrade branch. I will update the progress on this issue tracker. |
@palerdot Not sure about the docs, but the issue has been resolved now, and migration build is available Here is the issue link & here are the docs related to migration link |
@RitikPatni Thanks for the links. I will update this issue with |
Also, PRs are also appreciated. |
@palerdot Sure will try to raise a PR with Vue 3 compatibility if I can get it right. |
@RitikPatni Thank you. |
Please refer this issue for more details - #55 |
Hello,
I'm getting the following error with Vue 3, any idea how I can solve it?
Thanks!
The text was updated successfully, but these errors were encountered: