When formatting the vue file, the `template lang='pug'` node will be cleared.
See original GitHub issue- I have searched through existing issues
- I have read through docs
- I have read FAQ
- I have tried restarting VS Code or running
Vetur: Restart VLS
Info
- Platform: Windows 10 2004
- Vetur version: 0.30.0
- VS Code version: 1.51.1
Problem
No output from the Vue Language Server output panel. After falling back to 0.29.1, the problem no longer occurs.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
How to tell VScode to format file-type A as file-type B, while ...
open your file in vscode · Ctrl+Shift+P (or View -> Command Palette from the menu) · and then type Change Language Mode ·...
Read more >Code Style: Vue | IntelliJ IDEA Documentation - JetBrains
Use this page to configure formatting options for Vue files. ... by default, indentation is applied only to code inside template tags.
Read more >Formatting adds indentation to commented HTML in *.vue files
Open VSCode 1.18.0 with Vetur installed and with js-beautify-html set up as the formatter · Create a new .vue file, be sure to...
Read more ><script setup> | Vue.js
<script setup> is a compile-time syntactic sugar for using Composition API inside Single-File Components (SFCs). It is the recommended syntax if you are ......
Read more >How to Setup Vue.js with VS Code and Fix Formatting and ES ...
When you create a Vue.js project with the Vue CLI or UI and select Prettier - you' ll have a bunch of ES...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Reason: https://github.com/vuejs/vetur/issues/2347#issuecomment-704664572 I will close searching plugin feature and use found lib from vetur in next version.
Ha, I found the problem. In your project, it have a
prettier
lib but version is1.x.x
. This version don’t support plugin.In next version, vetur use bundled prettier in this case.