Escape-handler Simple plugin to handle esc-key press First you have to install the package: npm i @leetajz/escape-handler Then import as plugin in your main .js-file. plugins: [ ... '@/node_modules/@leetajz/escape-handler' ... ]