Skip to content

Add _target="blank" deprecation on <router-link> #539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 25, 2016
Merged

Conversation

fnlctrl
Copy link
Member

@fnlctrl fnlctrl commented Oct 24, 2016

No description provided.

@@ -267,6 +267,8 @@ You'll need to update it like this:
<router-link to="/about">About</router-link>
```

Note: `target="_blank"` is not supported on `<router-link>` component, please use `<a>` tags instead.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be nice to mention about router.match() here, so people won't get impression that manually maintaining URLs is recommended way.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's very rare that people want to open an app link in a new tab, then most people won't need this undocumented method at all.. So let's just keep the docs concise.

@chrisvfritz chrisvfritz merged commit 489145a into master Oct 25, 2016
@fnlctrl fnlctrl deleted the fnlctrl-patch-1 branch October 25, 2016 04:41
Peter-WF pushed a commit to Peter-WF/vuefe.github.io that referenced this pull request Nov 18, 2016
* Add _target="blank" deprecation on `<router-link>`

* Tweak language about route links in new tabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants