diff --git a/lib/templates/plugin.js b/lib/templates/plugin.js index 5421073..149d2ec 100644 --- a/lib/templates/plugin.js +++ b/lib/templates/plugin.js @@ -9,7 +9,7 @@ export default ({ app: { router } }) => { const href = event.currentTarget.getAttribute('href') if (href && href[0] === '/') { event.preventDefault() - event.metaKey + event.metaKey || event.ctrlKey ? window.open(href, '_blank', 'noopener') : router.push(href) }