Vetur: Prettyhtml config

Created on 5 Oct 2018  路  2Comments  路  Source: vuejs/vetur

I'm sorry, but how do I add a config to prettyhtml?

question

Most helpful comment

You can use something like this:

  "vetur.format.defaultFormatterOptions": {
    "prettyhtml": {
      "printWidth": 100,
      "singleQuote": false
    }
  },

All 2 comments

You can use something like this:

  "vetur.format.defaultFormatterOptions": {
    "prettyhtml": {
      "printWidth": 100,
      "singleQuote": false
    }
  },
Was this page helpful?
0 / 5 - 0 ratings