diff --git a/components/link-button.vue b/components/link-button.vue index 1600bd1..4803a97 100644 --- a/components/link-button.vue +++ b/components/link-button.vue @@ -3,6 +3,7 @@ @@ -23,6 +24,13 @@ export default { type: String, default: null } + }, + computed: { + rel () { + if (this.href.charAt(0) === '/') return null + + return 'noopener' + } } }