Closed ackzell closed 1 year ago
I am still very much using this setup and my best solution so far is to
lang="js"
attribute from the script
tag in my code when I want to let the formatter kick inAlternatively
npm
task. Which is not really a great DX to be honest. ☹️
Some Meteor plugins require to have a
lang="js"
attribute (see https://github.com/Hernanm0g/meteor-vuetify-loader#installation)But in turn, Vetur does not support this: https://github.com/vuejs/vetur/blob/master/docs/guide/highlighting.md#syntax-highlighting
Vetur doc talks about highlighting syntax, but formatting code using Vetur will not work if there is a
lang="js"
for meTL;DR: Figured this being the middle ground would be a good spot to make both things work (auto imports for
meteor-vuetify-loader
as well as code formatting in VScode using Vetur.