I generated a new Vue project using Vue CLI. For the linter option prompt, I chose Prettier. How do I disable the breaking of attributes to new lines? For instance:
This is my markup:
<v-navigation-drawer
v-model="drawer"
:clipped="$vuetify.breakpoint.lgAndUp"
app
>
...
</v-navigation-drawer>
and my expected output is this:
<v-navigation-drawer v-model="drawer" :clipped="$vuetify.breakpoint.lgAndUp" app>
...
</v-navigation-drawer>
I tried to create .prettierrc file, and added this configuration:
{
"htmlWhitespaceSensitivity": "ignore"
}
but that didn't work for me, and the HTML still looks the same.