2👍
✅
Probably you need to disable it for server side e.g.
{ src: '~/plugins/vue-airbnb-datepicker.js', ssr: false }
0👍
On a hunch:
The folder names in the node_modules/date-fns
are like addWeeks
and in /node_modules/vue-airbnb-style-datepicker/dist/vue-airbnb-style-datepicker.es.js
, they are imported as e.g import addWeeks
from date-fns/add_weeks
;
Changing imports might actually help.
Source:stackexchange.com