methods: { resizeWindow() { window.dispatchEvent(new Event('resize')) } }, mounted() { this.resizeWindow() }