-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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/compat not working with Typescript (missing template or render function) #7766
Labels
Comments
This is not really related to Typescript per se, but rather to the compat version of Should be a straightforward fix. |
LinusBorg
added a commit
that referenced
this issue
Feb 23, 2023
Thanks Linus. Let me know if there is anything I can do to help this along. |
baiwusanyu-c
added a commit
to baiwusanyu-c/bwsy-vue-core
that referenced
this issue
Mar 28, 2023
baiwusanyu-c
added a commit
to baiwusanyu-c/bwsy-vue-core
that referenced
this issue
Mar 28, 2023
antfu
pushed a commit
that referenced
this issue
Mar 28, 2023
IAmSSH
pushed a commit
to IAmSSH/core
that referenced
this issue
May 14, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Vue version
3.2.47 with @vue/compat 3.2.47
Link to minimal reproduction
https://github.com/dwgray/vue-compat-typescript
Steps to reproduce
run
yarn serve
from the root of this project and then open the localhost URL that is emitted to the command line in a browser.What is expected?
The vue-cli starter template application.
What is actually happening?
A blank page.
Console shows:
System Info
Any additional comments?
I am trying to migrate a vue 2.0 application that I created with the vue-cli to vue 3.0 using the migration build and running into issues immediately.
For this repro, I created a new vue.js 2.0 application using the vue-cli with the following options:
I then started applying the steps described in the migration build documentation. This pull request shows the changes I applied.
It seems like I am running the migration build at least close to correctly in that:
But the vue application doesn't successfully mount. I'm seeing a blank browser window and no vue code being injected.
I'm pretty sure this isn't the same issue as #4330, since I'm including the shim mentioned in that issue. I've tried both with just that shim (which is what I'm showing in the repo) and the combination of the new shim and the shim that was created by the vue-cli template.
The text was updated successfully, but these errors were encountered: