Skip to content

feat: add initial Vue Vapor support - #1174

Merged
webfansplz merged 1 commit into
mainfrom
feat/vapor-support
Oct 21, 2026
Merged

webfansplz merged 1 commit into
mainfrom
feat/vapor-support

Conversation

@webfansplz

Copy link
Copy Markdown
Member

First step of Vue Vapor (3.6) support. The full plan is in plans/vapor-support.md; later phases land as separate PRs.

Changes

  • plans/vapor-support.md: Vapor support plan (breakage inventory, phases, testing, open questions).
  • playground/vapor (pnpm play:vapor): a pure createVaporApp tree and a createApp + vaporInteropPlugin mixed tree.
  • packages/kit/src/runtime/vapor.ts: duck-typed guards (isVaporInstance, isVaporApp, isVaporFragment, isInteropFragment, isTeleportFragment, isForFragment) and VF fragment bits. No @vue/runtime-vapor import, so the kit still works with Vue 3.5.
  • AppRecord.vapor is set when app.vapor === true.
  • vue-3.6 (npm:vue@3.6.0-rc.5) catalog alias as a root devDependency, for tests only. The package root resolves to a Node build without Vapor, so tests import the vue.runtime-with-vapor.esm-browser.js bundle (typed by tests/vue-3.6.d.ts).

Tests

  • tests/unit/runtime/vapor.test.ts: guards, a real createVaporApp mount, and the record.vapor flag.
  • pnpm test: 68 files / 405 tests pass.

🤖 Generated with Claude Code

Copilot AI balanced review requested due to automatic review settings October 20, 2026 07:23
@netlify

netlify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vue-devtools-docs canceled.

Name Link
🔨 Latest commit e62bccd
🔍 Latest deploy log https://app.netlify.com/projects/vue-devtools-docs/deploys/6ad81f161da0a743d5621e7e

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@pkg-pr-new

pkg-pr-new Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@vue/devtools-agent@1174
npm i https://pkg.pr.new/@vue/devtools-api@1174
npm i https://pkg.pr.new/@vue/devtools-kit@1174
npm i https://pkg.pr.new/vite-plugin-vue-devtools@1174

commit: e62bccd

@webfansplz webfansplz changed the title feat: vapor support groundwork (phase 0) feat: add initial Vue Vapor support Oct 20, 2026
Add the Vapor support plan, a Vapor playground, duck-typed Vapor guards in
the kit, a `record.vapor` flag for Vapor apps, and a vue@3.6.0-rc.5
test-only alias.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@webfansplz
webfansplz merged commit 950c89e into main Oct 21, 2026
8 checks passed
@webfansplz
webfansplz deleted the feat/vapor-support branch October 21, 2026 02:14
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.

2 participants