Skip to content

fix: handle Vue 3.6+ vapor runtime imports correctly #357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 16, 2025
Merged

Conversation

edison1105
Copy link
Member

@edison1105 edison1105 commented Jul 15, 2025

close #356

Summary

  • Use https://cdn.jsdelivr.net/npm/vue@3.6.x/dist/vue.runtime-with-vapor.esm-browser.js as the runtime import.
  • Use createVaporApp or createVaporSSRApp when vapor mode is supported and App.vue is a vapor component.

Copy link

vercel bot commented Jul 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
repl ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 16, 2025 3:16am

Copy link

pkg-pr-new bot commented Jul 15, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@vue/repl@357

commit: 4458cad

@edison1105 edison1105 changed the title fix: correct vapor runtime detection for Vue 3.6+ versions fix: handle Vue 3.6+ vapor runtime imports correctly Jul 15, 2025
@edison1105 edison1105 merged commit c4bac9c into main Jul 16, 2025
5 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.

<script setup vapor> breaks in REPL
1 participant