[Vuejs]-Expected indentation of 2 spaces but found 4 indent

0👍

For simple indentation with Vue, I recommend you use the Prettier.

The default indentation of Prettier is 2 spaces, but you can change this. See this option: https://prettier.io/docs/en/options.html#tab-width

The Prettier have integration with many editors: https://prettier.io/docs/en/editors.html

Prettier is a great tool.

Leave a comment