Hello. Thanks for your great component.
I use ssr in my project. Is it possible use v-calendar in ssr without nuxt.js?
~plugins/datepicker.js
'import Vue from 'vue';
import Vcalendar from 'v-calendar';
Vue.use(Vcalendar);
nuxt.config.js
plugins: [{ ssr: false, src: '~plugins/datepicker.js' }]
Woohoo! That's it. You can use the module now.
<v-date-picker
v-model="date"
>
</v-date-picker>
I would suggest you adding
<no-ssr>
<v-date-picker
v-model="date"
>
</v-date-picker>
</no-ssr>
Cheers.
~plugins/datepicker.js
'import Vue from 'vue'; import Vcalendar from 'v-calendar'; Vue.use(Vcalendar);nuxt.config.js
plugins: [{ ssr: false, src: '~plugins/datepicker.js' }]Woohoo! That's it. You can use the module now.
<v-date-picker v-model="date" > </v-date-picker>I would suggest you adding tag,
<no-ssr> <v-date-picker v-model="date" > </v-date-picker> </no-ssr>Cheers.
Good, thanks.
But read my message one more time please
Oh! My bad. I didn't notice the SSR. I don't think it supports SSR :)
Most helpful comment
~plugins/datepicker.js
'import Vue from 'vue'; import Vcalendar from 'v-calendar'; Vue.use(Vcalendar);nuxt.config.js
plugins: [{ ssr: false, src: '~plugins/datepicker.js' }]Woohoo! That's it. You can use the module now.
<v-date-picker v-model="date" > </v-date-picker>I would suggest you adding tag,
<no-ssr> <v-date-picker v-model="date" > </v-date-picker> </no-ssr>Cheers.