[Vuejs]-Vue JS: TypeError: Cannot read property 'preventDefault' of undefined 16 November 2023 by thecoderscamp.com 3👍 ✅ use @submit="onSubmit" instead of @submit="onSubmit()" i think it will solve the issue. 👤Mahamudul Hasan [Vuejs]-Why the v-slot did not work in a single file? Source:stackexchange.com