Syntax Highlighting Issue with <route lang="yaml"> Block in Vue Files on VS Code #4950
Unanswered
mrsiahpoosh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm experiencing an issue with syntax highlighting in Visual Studio Code when using blocks in Vue single-file components.
In my Vue component file, I’m adding a custom block to define metadata for routes. Here’s an example:
When I add this block, the syntax highlighting for the entire file breaks, and all code following this block turns blue. However, if I comment out the block, the syntax highlighting returns to normal (as shown in the images below).
is there any solution to fix this ?
Beta Was this translation helpful? Give feedback.
All reactions