Closed zta7 closed 4 years ago
It should be listed in the docs
it's possible to resolve ? or a limitation ? it's the only short for me to use this plugin. ~(i dont like prettier format everything without enough options to choose~)
It a limitation of our current workflow:
Split .vue
file to several blocks -> Put these blocks to prettier independently.
BTW, I think the official style guide of Vuejs does not encourage indent in script and style block of .vue
file
It's possible to resolve, but we need to change the behavior of processing <script>
and <style>
blocks 🤔
Fixed in v2.1.1
@meteorlxy my vs code doesn't work , too. prettier:2.3.2
prettier.config.js like this: .eslintrc.js
but there're none indentation inside Githubissues.
Yes, because this plugin does not process the whole
.vue
file. It's a known limitation