vue3 import Error: has no default export [How to Solve]

In the vue3 project, the TS write error component does not export by default because vetur-v0 35.0 does not support vue3. You need to download Vue language features (vol) – v0 twenty-nine point eight

<template>
     <MyHeader></MyHeader>
</template>
<script setup lang="ts">
import MyHeader from "../components/MyHeader.vue";
</script>

Read More: