How to configure formatted vue? for vscode

projects use eslint to standardize js code. You can install plug-ins in vscode , and directly configure "eslint.autoFixOnSave": true in usersetting.json . In this way, saving can automatically format js code
but here comes the problem: template and style < / code in .vue files.

Jun.30,2021

you can install a vetur plug-in and configure it like this in setting.json.

// vuehtml
"vetur.format.defaultFormatter.html": "js-beautify-html",

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5ed0f-457ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5ed0f-457ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?