Skip to content

Commit 489145a

Browse files
fnlctrlchrisvfritz
authored andcommitted
Add _target="blank" deprecation on <router-link> (#539)
* Add _target="blank" deprecation on `<router-link>` * Tweak language about route links in new tabs
1 parent b4a8f16 commit 489145a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/guide/migration-vue-router.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ You'll need to update it like this:
267267
<router-link to="/about">About</router-link>
268268
```
269269

270+
Note that `target="_blank"` is not supported on `<router-link>`, so if you need to open a link in a new tab, you have to use `<a>` instead.
271+
270272
{% raw %}
271273
<div class="upgrade-path">
272274
<h4>Upgrade Path</h4>

0 commit comments

Comments
 (0)