I'm facing an error with vue3, ts, vue cli where it says
Module '"c:/Users/USER/Documents/top-secret-project/src/components/Features/Features.vue"' has no default export.
when importing a component from a file
I have no idea why did this specific component decide to now work.
here's Features.vue
<script lang="ts">
import Feature from "./Feature.vue";
</script>
<template>
<Feature />
</template>
A @Boussadjra mentioned this could happen in Visual Studio Code if Vetur extension is installed there.
Insetted of Vetur
if we install Volar
extension in Visual Studio Code this problem gets solved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With