The Vue WindowPlugin adds $window and $document DOM objects to each Vue component. This is helpful when accessing DOM from attribute templates. allowing you to call DOM methods without declaring a method.
For example, you can open alerts, log events, or open URLs in new tabs.
Usage
Click MeClick MeClick Me
Installation
Install the package via NPM
npm install --save window-plugin
Install the plugin before creating your Vue
Vue // your code here
Dependencies
None