mounted() { this.$nextTick(this.getBodyHeight) window.addEventListener('resize', this.getBodyHeight) }, methods: { getBodyHeight() { this.bodyHeight = window.innerHeight - 48 }, }