From 9bf855de5678ef7f4689ff2703233be0f1e6b5d4 Mon Sep 17 00:00:00 2001 From: Dalibor Date: Sat, 6 Nov 2021 15:06:53 +0100 Subject: [PATCH] fix: missing `noopener` --- lib/templates/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/templates/plugin.js b/lib/templates/plugin.js index 66ac6a1..5421073 100644 --- a/lib/templates/plugin.js +++ b/lib/templates/plugin.js @@ -10,7 +10,7 @@ export default ({ app: { router } }) => { if (href && href[0] === '/') { event.preventDefault() event.metaKey - ? window.open(href, '_blank') + ? window.open(href, '_blank', 'noopener') : router.push(href) } }