You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export { default as TestComponentProps } from './TestComponentProps';
export { default as TestComponentEmits } from './TestComponentEmits';
Import them in component with script setup
import type { TestComponentProps, TestComponentEmits } from './types';
const props = defineProps<TestComponentProps>();
const emit = defineEmits<TestComponentEmits>();
What is expected?
No errors in runtime and component is rendered correctly
What is actually happening?
Component not rendering throwing exception
runtime-core.esm-bundler.js:41 [Vue warn]: Property "tag" was accessed during render but is not defined on instance.
at <TestComponent msg="Hello World!" tag="span" onClick=fn<onClick> >
at <App>
System Info
No response
Any additional comments?
Exporting types without "default" works as expected.
The text was updated successfully, but these errors were encountered:
Vue version
3.3.4
Link to minimal reproduction
https://github.com/tragid/vue-default-export-error/tree/vue-3.3.4
Steps to reproduce
What is expected?
No errors in runtime and component is rendered correctly
What is actually happening?
Component not rendering throwing exception
System Info
No response
Any additional comments?
Exporting types without "default" works as expected.
The text was updated successfully, but these errors were encountered: