-
Notifications
You must be signed in to change notification settings - Fork 0
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
Missing support for alternative template language #2
Comments
Hello. |
I'm actually trying to migrate my project over to Vue 3 and this seems to be a supported use case with Vue 3 SFC. |
Could you provide more detailed information when you got the error? The link you have provided seems not to be related to what your error message saying. And also, this package is not the babel parser, instead a preset for properly letting the parser understand how to parse <script lang="ts"> tag in .vue file, and the actual parsing part is done by @babel/parser (as your error is from @babel/parser). Added test with pug template passed without error (link), and it seems your example file is written in Vue.js 2. |
Thanks for explaining in detail. I upgraded the code to Vue 3 (file) and I'm still facing this issue.
I'll look into it further elsewhere. |
Hello, |
When replacing
babel-preset-typescript-vue
with this, it seems like it would throw an error if / when a language is specified for the template (example file).Attached error log:
The text was updated successfully, but these errors were encountered: