vee-validate
vee-validate copied to clipboard
<title> `Uncaught (in promise) ReferenceError: exports is not defined` in v4.15.0
What happened?
In v4.15.0, the browser console reports an error: Uncaught (in promise) ReferenceError: exports is not defined. Rolling back to a previous version is fine.
Reproduction steps
import { useForm } from 'vee-validate'
const { handleSubmit } = useForm()
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
- [ ] Firefox
- [X] Chrome
- [ ] Safari
- [ ] Microsoft Edge
Relevant log output
No response
Demo link
sorry
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
I'm facing same problem in my nuxt project. Forcing transpile for vee-validate package solves the problem.
+1