OS: Ubuntu 22.04.4 LTS
IDE: VSCode and Nvim
Browser: Chrome Version 125.0.6422.141
Steps to reproduce
Open terminal and create a new project:
npm create vue@latest
Add Typescript when asked for it
Run npm install in project directory
Start dev server by running: npm run dev
Purposefully generate error in code in my example i typed into Homeview.vue and save the file:
<script setup lang="ts">
import TheWelcome from '../components/TheWelcome.vue'
this is an error generated on purpose ; = ";";
</script>
Now the console should not show any error
Upon opening the application in the browser the error gets displayed (only in browser)
Only upon page refresh the terminal now also displays the error
Link to minimal reproduction
No response
Any additional comments?
I wanted to try out Vue by creating my first application and when following the tutorial i soon realised that it is not working as expected.
I should also say that i have tried the same thing in Neovim and there it also doesn't work as explained above.
I installed LSP's in both environments.
Vue - Official extension or vue-tsc version
v2.0.21
VSCode version
1.90.0
Vue version
3.4.21
TypeScript version
5.4.5
System Info
Steps to reproduce
Link to minimal reproduction
No response
Any additional comments?
I wanted to try out Vue by creating my first application and when following the tutorial i soon realised that it is not working as expected.
I should also say that i have tried the same thing in Neovim and there it also doesn't work as explained above. I installed LSP's in both environments.