Vue Obtenha a largura da janela

  data() {
    return {
      windowWidth: window.innerHeight,
      success: false
    }
  },
  mounted() {
    window.onresize = () => {
      this.windowWidth = window.innerWidth
    }
  },
Shadow