`externalTargetAttribute` prop for `NuxtLink`

Open
#30,393 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
nuxt, typescript
Domain
frontend

Research direction

Start by finding the NuxtLink implementation and the existing externalRelAttribute prop, then trace how external links receive their attributes. Add the corresponding target behavior and tests for the new prop, including the default behavior described in the issue.

Written by the indexing model from the issue text.

Description

pending triage
Describe the feature

It would be nice to have ability to set target attribute to _blank for all external links by default. In my experience it's very common case. Prop externalTargetAttribute for NuxtLink which works same as existent externalRelAttribute prop could be easiest and convient solution.

Additional information
  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?
Final checks
Dominant language
TypeScript
Stars
60.9k
Forks
5.8k
Avg merge
7h 8m
Merged PRs (30d)
162

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nuxt/nuxt

All issues in nuxt/nuxt

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.