-
Notifications
You must be signed in to change notification settings - Fork 122
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
Update to v0.21.0 breaks the build because of route lang="json" blocks #178
Comments
This is related to unplugin-vue-components, Can you open a new issue there? |
In my local project where this is happening I don't have |
That fixed it @hannoeru, thanks |
Posting on this because I have the same error (also using Since you fixed this specifically for the JSON plugin, is it possible that a specific fix for YAML is required as well? I have observed a lot of weird behaviour with this.
|
@LukasKnuth can you provide a reproduction? |
@hannoeru I have made https://github.com/LukasKnuth/codeislandorg_vue public. If you update Let me know if you need more info |
@LukasKnuth fixed, try v0.21.3. |
@hannoeru It works. Crazy how fast you are on these changes, much appreciated! |
Hello, thanks for your great work in this vite plugin.
In version 0.20.2
<route lang="json">
blocks work ok and is an easy way to get syntax highlighting.In version 0.21.0 using
<route lang="json">
produces an errorSyntaxError: import not found: default
Here's a reproduction
https://stackblitz.com/edit/github-ijnjm5-3ce2um?file=src/pages/index.vue
The text was updated successfully, but these errors were encountered: