Set Volar to use the Hybrid Mode to typeScriptPluginOnly, and create a .vue file, with a script setup tag. Add some code inside, then add the lang="ts" attribute to the script tag. Type some more code ...