[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
Describe the bug
After scaffolding a Vue app, trying to do a default import of Vue from a component fails saying that the default export is not defined for 'vue'
Reproduction
import Vue from 'vue'
to the top of thescript
area ofHelloWorld.vue
example
HeloWorld.js
System Info
Used Package Manager
npm
Logs
Validations