-
-
Notifications
You must be signed in to change notification settings - Fork 245
Support Vue 3 #384
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
Comments
If you'd like to work on this that would be greatly appreciated. I'm not a Vue user and I believe none of the other maintainers are either. If someone would like to submit a PR that would be greatly appreciated. It's important that we maintain support for Vue 2 for now as well. Thanks! |
Did you try the following settings?
|
@piotr-oles I did not, I'll try tomorrow! |
Quick update: it doesn't work. Unfortunately the exported api has changed just a little bit. I have not tested yet but changing this line: to const { descriptor: { script } } = parser.parse(content, {
pad: 'space'
}); might work. |
PR available in #389 |
🎉 This issue has been resolved in version 5.0.0-alpha.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Tested with Note to anyone else finding this with Google: vue: {
enabled: true,
compiler: '@vue/compiler-sfc'
} |
🎉 This issue has been resolved in version 5.0.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 5.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Feature description
Vue 3 is now publicly available in alpha.
Because of changes in its internal structure, tools like fork-ts-checker-webpack-plugin need to be updated (see below).
Feature implementation
I'm using Vue 3 + Webpack + Typescript in my project.
This requires
[email protected]
,[email protected]
and@vue/[email protected]
.When I try to use
vue: true
infork-ts-checker-webpack-plugin
I get the following error:I'm pretty sure this is because Vue 3 uses
@vue/compiler-sfc
to compile views instead ofvue-template-compiler
and the checker needs to be updated to use this package when it's available instead of the old one.The text was updated successfully, but these errors were encountered: