I’m trying to get window width and height size. Also, I want to catch the size when the window resizes.
I have seen this comment here. However, I’ve tried to do it with Vuejs 2 and didn’t work.
Follow my jsfiddle: https://jsfiddle.net/tiagomatosweb/cvdj2sq7/
What I’m missing?