#Import declaration conflicts with local declaration
7 messages · Page 1 of 1 (latest)
Ah, it's a bug in our VS Code extension
I didn't take into account that someone would import a component with the same name as the current one
If you just import it under any other names, it should be fine, like
---
import PreviewVue from "../components/preview.vue";
---
I am receiving the same error, but with the Image component https://github.com/withastro/astro/issues/7355