Normally it should add the /**/ comment
/**/
How to fix this?
WebStorm 2023.3.4, Windows 11
When they don't have a lang attribute, <style /> tags in Vue SFCs are interpreted as PostCSS.
lang
<style />
Go to Settings | Editor | Code Style | Style Sheets | CSS | PostCSS and check that /* comment */ is selected.
Settings | Editor | Code Style | Style Sheets | CSS | PostCSS
/* comment */
Related YouTrack issues:
When they don't have a
langattribute,<style />tags in Vue SFCs are interpreted as PostCSS.Go to
Settings | Editor | Code Style | Style Sheets | CSS | PostCSSand check that/* comment */is selected.Related YouTrack issues: