Skip to content

docs: fix defineComponent link in custom elements API - #3507

Open
PRIMITIFA wants to merge 1 commit into
vuejs:mainfrom
PRIMITIFA:fix/custom-elements-definecomponent-link
Open

PRIMITIFA wants to merge 1 commit into
vuejs:mainfrom
PRIMITIFA:fix/custom-elements-definecomponent-link

Conversation

@PRIMITIFA

Copy link
Copy Markdown

Description of Problem

On the Custom Elements API page, the defineComponent link in the defineCustomElement() description points to #definecomponent, which does not exist on that page. The sentence was moved from the General API page when custom elements got their own page, and the same-page anchor came with it.

Proposed Solution

Point the link to /api/general#definecomponent, where defineComponent() is documented and how other pages already link to it. I checked the built output (pnpm build) and the target anchor exists.

Additional Information

@netlify

netlify Bot commented Nov 28, 2026

Copy link
Copy Markdown

👷 Deploy request for vuejs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 15a295d

This branch has not been deployed

No deployments
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.

1 participant