Skip to content

docs: show plugin installation in custom elements - #3489

Open
Doomguy-BFG9000 wants to merge 1 commit into
vuejs:mainfrom
Doomguy-BFG9000:docs/3151-custom-element-plugins
Open

Doomguy-BFG9000 wants to merge 1 commit into
vuejs:mainfrom
Doomguy-BFG9000:docs/3151-custom-element-plugins

Conversation

@Doomguy-BFG9000

Copy link
Copy Markdown

Description of Problem

The custom element guide explains configureApp, but does not show how to install a Vue plugin when building a custom element.

Closes #3151.

Proposed Solution

Add an app.use(MyPlugin) example in the existing Vue 3.5+ app configuration section, link to the plugin guide, and explain that installation is scoped to each custom element's app instance.

Additional Information

Validation: the full site build passed with pnpm 10.33.0. A Chrome runtime test created two custom element instances, verified that the plugin installed on both apps, and checked that each shadow root rendered the value provided by the plugin. The new prose and code block were inspected at 1440px and 390px, with no horizontal overflow or page errors.

@netlify

netlify Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 5795a9d
🔍 Latest deploy log https://app.netlify.com/projects/vuejs/deploys/6aed6762b9a9c957065b82ea
😎 Deploy Preview https://deploy-preview-3489--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Document how to use plugins in the Web Component guide

1 participant