vue mendapatkan lebar jendela

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