Skip to content
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

How to comment tempalte code with <!-- --> ,not {{/* */}}? #4394

Open
717009629 opened this issue May 17, 2024 · 1 comment
Open

How to comment tempalte code with <!-- --> ,not {{/* */}}? #4394

717009629 opened this issue May 17, 2024 · 1 comment

Comments

@717009629
Copy link

After I updated vscode vue-office extension, I comment tempalte code from <!-- --> to {{/* /}}.
How to comment tempalte code with <!-- -->,not {{/
*/}}?

[vite] Internal server error: Error parsing JavaScript expression: Unexpected token (1:9)
  Plugin: vite:vue
  File: index.vue
  
  10 |      {{/*    */}}
     |        ^
@littlecxm
Copy link

littlecxm commented May 21, 2024

same problem here it happend when I use comment shortcut the Ctrl+/
image

"vue.server.hybridMode" set to false

*update
disabled all vscode plugin it works, in my case it's https://github.com/theNewDynamic/language-hugo-vscode fault

well I guess it maybe vscode plugin conflict with some reason even i change lang back to html
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants