]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commit
fix: add `rel="noopener"` to external links
authorHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 12 Aug 2022 04:19:13 +0000 (12:19 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 12 Aug 2022 04:19:13 +0000 (12:19 +0800)
commit3b434b47389830b5e205a6c1fb4a45685410c216
treead6dc0af9bd68c61f0895b7797cce1b11e7e5bfb
parent3badfeabad1851299d6eafc0d0b204cf89fc1757
fix: add `rel="noopener"` to external links

Modern browsers (Chrome ≥ 88, Edge ≥ 88, Firefox ≥ 79 and Safari ≥ 12.2) automatically imply `rel="noopener"`.

But the default target of Vite is lower than that, so we still need it.
template/code/default/src/components/HelloWorld.vue
template/code/default/src/components/TheWelcome.vue
template/code/router/src/components/HelloWorld.vue
template/code/router/src/components/TheWelcome.vue
template/code/typescript-default/src/components/HelloWorld.vue
template/code/typescript-default/src/components/TheWelcome.vue
template/code/typescript-router/src/components/HelloWorld.vue
template/code/typescript-router/src/components/TheWelcome.vue