Skip to content

fix: add missing peerDependency @vue/compiler-dom#2756

Merged
cexbrayat merged 1 commit intovuejs:mainfrom
kimulaco:issue-2752
Jan 12, 2026
Merged

fix: add missing peerDependency @vue/compiler-dom#2756
cexbrayat merged 1 commit intovuejs:mainfrom
kimulaco:issue-2752

Conversation

@kimulaco
Copy link
Copy Markdown
Contributor

Close: #2752

@vue/test-utils uses @vue/compiler-dom to compile slot content. However, @vue/compiler-dom was not declared in peerDependencies. As a result, certain configurations of package managers (e.g. pnpm) will encounter an error where @vue/compiler-dom cannot be imported.

To fix this issue, we have added @vue/compiler-dom to peerDependencies.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 10, 2026

Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit b12ffa8
🔍 Latest deploy log https://app.netlify.com/projects/vue-test-utils-docs/deploys/69625bfc6fc4c70008db3ee1
😎 Deploy Preview https://deploy-preview-2756--vue-test-utils-docs.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.

Copy link
Copy Markdown
Member

@cexbrayat cexbrayat left a comment

Choose a reason for hiding this comment

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

Thank you for looking into it @kimulaco

@cexbrayat cexbrayat merged commit 75801ba into vuejs:main Jan 12, 2026
7 checks passed
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.

Bug: Cannot find module @vue/compiler-dom in pnpm strict hoist environment

2 participants