Closed rndmerle closed 6 years ago
Hi.
import-sort is handling VueJS SFC quite well actually, as you can see here : https://github.com/renke/import-sort/issues/52
So I thought I'll give a try to the VSCode extension. With .importsortrc config:
{ ".vue, .ts": { "parser": "typescript", "style": "module" } }
I edited your package.json to add "onLanguage:vue" but the command still does nothing on a .vue file. No error showing in the console.
"onLanguage:vue"
Any idea ? :) Thanks for your time.
in settings.json
"sort-imports.languages": [ "typescript", "javascript", "vue" ]
Thanks :) No clue why I didn't see it before.
Hi.
import-sort is handling VueJS SFC quite well actually, as you can see here : https://github.com/renke/import-sort/issues/52
So I thought I'll give a try to the VSCode extension. With .importsortrc config:
I edited your package.json to add
"onLanguage:vue"
but the command still does nothing on a .vue file. No error showing in the console.Any idea ? :) Thanks for your time.