Skip to content
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

[vue3] Component is missing template or render function. #572

Closed
kongxiaojian123 opened this issue Oct 22, 2021 · 6 comments
Closed

[vue3] Component is missing template or render function. #572

kongxiaojian123 opened this issue Oct 22, 2021 · 6 comments

Comments

@kongxiaojian123
Copy link

vue version: 3.2.20

This framework is not available in Vue 3.2.20

@borkeszmate
Copy link

This issue is linked to vitejs/plugin-vue. Temp fix is to set plugin-vue version to 1.8.0.
I made a PR, but I didn't receive any response so far. vitejs/vite#5374

@calebeaires
Copy link

I got stuck on this problem too. Is there some workaround?

Ps. Vue Class Component is os useful and good coding style, but its community seams self motivated to improve it.

@borkeszmate
Copy link

@calebeaires Have you tried fixing @vitejs/plugin-vue to 1.8.0? It should temporaty fix the bug. The above mentioned PR is partly accepted, so that I hope it can be merged in the close future. After that the issue should be fixed.

@calebeaires
Copy link

@borkeszmate... I am following that PR. Happy to see things going on...

@turbobuilt
Copy link

U guys are amazing... thanks so much for saving me with the 1.8.0 workaround. Have a lot of stuff I need to get done, wasted enough time dinking around with it as I try to get a new device set up!

@borkeszmate
Copy link

@turbobuilt the PR fixing the bug was merged this week. Next vitejs/plugin-vue release should not have issue with class components. :) vitejs/vite#5374

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants