You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a weird issue. If a vue file contains a empty <style> block, commenting will not work properly. Like this:
You can see all the comments start with //.
If I remove the empty <style> block or write some styles in the block, it will work fine. Like this:
You can see the <style> block was removed, and the comments in <template> and <script> work fine.
When I write some styles in <style> block, it works also.
Steps to reproduce
See above
Expected behavior
See above
Actual behavior
See above
Additional context
No response
The text was updated successfully, but these errors were encountered:
Minimal reproducible full config
-- Your configuration here
Description
I found a weird issue. If a vue file contains a empty
<style>
block, commenting will not work properly. Like this:You can see all the comments start with
//
.If I remove the empty
<style>
block or write some styles in the block, it will work fine. Like this:You can see the
<style>
block was removed, and the comments in<template>
and<script>
work fine.When I write some styles in
<style>
block, it works also.Steps to reproduce
See above
Expected behavior
See above
Actual behavior
See above
Additional context
No response
The text was updated successfully, but these errors were encountered: