We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrading, I'm getting following build error: ERROR Pre-transform error: Missing "./dist/locale/en.json" specifier in "@vee-validate/i18n" package.
ERROR Pre-transform error: Missing "./dist/locale/en.json" specifier in "@vee-validate/i18n" package
That's my nuxt plugin:
// plugins/veeValidate.ts import { defineRule, configure } from 'vee-validate' import { required, email } from '@vee-validate/rules' import { localize } from '@vee-validate/i18n' import en from '@vee-validate/i18n/dist/locale/en.json' export default defineNuxtPlugin(() => { defineRule('required', required) defineRule('email', email) configure({ // controls if `blur` events should trigger validation with `handleChange` handler validateOnBlur: true, // controls if `change` events should trigger validation with `handleChange` handler validateOnChange: true, // controls if `input` events should trigger validation with `handleChange` handler validateOnInput: true, // controls if `update:modelValue` events should trigger validation with `handleChange` handler validateOnModelUpdate: true, generateMessage: localize({ en, }), }) })
No response
Vue.js 3.x and vee-validate 4.x
The text was updated successfully, but these errors were encountered:
On it.
EDIT: Tagging a quick hot fix now.
Sorry, something went wrong.
c118e86
Fixed in v4.14.1
v4.14.1
amazing, thanks!
No branches or pull requests
What happened?
After upgrading, I'm getting following build error:
ERROR Pre-transform error: Missing "./dist/locale/en.json" specifier in "@vee-validate/i18n" package
.That's my nuxt plugin:
Reproduction steps
No response
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
Code of Conduct
The text was updated successfully, but these errors were encountered: