Vue Formatting Question
See original GitHub issuePrettier 1.15.1 Playground link
--parser vue
Input:
<div class="container">
<HomeH />
<HomeA />
<HomeX />
<HomeY />
</div>
Output:
<div class="container"><HomeH /> <HomeA /> <HomeX /> <HomeY /></div>
Expected behavior: I am not sure if this was intended, but I was expecting the formatting to keep the original input rather than putting them all in a single line.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
VSCode prettier/vue formatting settings don't work properly
I've been struggling with a similar problem with VSCode's formatting. I also have Prettier, ESLint and Vetur extensions installed.
Read more >sudheerj/vuejs-interview-questions: List of 300 ... - GitHub
created: This hook is invoked when Vue has set up events and data observation. Here, events are active and access to reactive data...
Read more >Vue.js Interview Questions in 2022
12) What is VUE-resource, how can you install Vue Resource ? 13) How to create Constants in Vue js. 14) What is virtual...
Read more >Style Guide - Vue.js
Style Guide. This is the official style guide for Vue-specific code. If you use Vue in a project, it's a great reference to...
Read more >How To Configure ESLint and Prettier for Vue.js - DigitalOcean
Learn how to add default Prettier linting to your Vue.js projects. ... Its goal is to automate the work of formatting code to...
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
I had the same issue with the last version. I uninstalled and installed the 1.14.3 version.
Done, #5441.