Closed
Description
Feature Request:
- Add a setting to switch prettyhtml to Prettier 2.x for
<template>
original issue below:
prettyhtml is pretty much unmaintained and they have a notice on their README like so:
I think it would be better if Volar uses Prettier for the template section of a Vue file by default.
Is there a specific reason Volar chose prettyhtml over Prettier as the default HTML formatter?
Currently the only workaround is to set Prettier to completely format Vue files.
But that's not really an option because then we loose the proper sass-formating for the style lang=sass
section of a Vue file. (sass formatting is something that Prettier can't do natively)