install vue-contextmenu npm install vue-contextmenu --save Vue mount // mount with global import VueContextMenu from 'vue-contextmenu' Vue.use(VueContextMenu) Use in SPA <template> <div id="app" @contextmenu="showMenu" style="width: 100px;height: 100px;margin-top: 20px;background: r...