I am building an application using Quasar framework. For form validation I am using vuelidate for validation.
Quasar version:
» Quasar Pkg... v2.0.3
» Pkg @quasar/app... v3.0.3
verify:
"vuelidate":"^0.7.6"
"Similar" code that basically works in another Quasar 1.X application, but fails in Quasar 2.x:
Boot configuration:
import Vuelidate from 'vuelidate'; export default ({ app }) => { app.use(Vuelidate); };
Components:
Code for using components:
Twitter Profile Performance Report
I get the following error in my browser:
vue-router.esm-bundler.js?f6c4:3248 ReferenceError: process is not defined at eval (withParams.js?8b99:7) at Object../node_modules/vuelidate/lib/withParams.js (vendor.f2dee45ef25904390a82.hot-update.js:271) at __webpack_require__ (app.js:195) at fn (app.js:460) at eval (common.js?bca9:14) at Object../node_modules/vuelidate/lib/validators/common.js (vendor.f2dee45ef25904390a82.hot-update.js:62) at __webpack_require__ (app.js:195) at fn (app.js:460) at eval (alpha.js?d360:8) at Object../node_modules/vuelidate/lib/validators/alpha.js (vendor.f2dee45ef25904390a82.hot-update.js:18)
Vuelidatev0.7.6is the version released on October 23, 2020, and is only compatible with Vue 2. You are using Vue 3, which means youmustuseVuelidate v2