2
votes

I've a date picker component like this

<v-date-picker v-model="date" range landscape></v-date-picker>

and this is modeled to the date array. Which is work fine when I run the project localy.

Once I build the project in the production I got these errors

TypeError: t.split is not a function or its return value is not iterable

TypeError: Cannot set property 'isDark' of undefined

TypeError: this.lastValue.split is not a function

TypeError: t.trim is not a function

and a warning says

Value must be a String, got Array

enter image description here

Any idea why this happen only in the production (npm build) and works fine in the dev (npm serve)

1
hi, did you get the solution for this? I'm facing this issue too, please helpChoy

1 Answers

0
votes

This problem stems from previous versions of vuetify, just upgrade to a recent version of Vuetify to fix the problem.