Closed wilk closed 7 years ago
Missing support for Server Side Rendering: this is due to this issue https://github.com/vue-bulma/click-outside/issues/5 (vue-bulma-click-outside dep).
Following a workaround:
data() { return { datepickerVisible: false } }, beforeMount() { this.$options.components.Datepicker = require('vue-bulma-datepicker') setTimeout(() => {this.datepickerVisible = true},0) }
And then, inside the HTML template:
<p class="control" v-if="datepickerVisible"> <datepicker :inputClass="{ test: true }" v-model="myDateModel"></datepicker> </p>
Fix SSR error.
Missing support for Server Side Rendering: this is due to this issue https://github.com/vue-bulma/click-outside/issues/5 (vue-bulma-click-outside dep).
Following a workaround:
And then, inside the HTML template: