Skip to content
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

vue-demi does not provide an export named 'Vue' #4096

Closed
kingyue737 opened this issue Dec 13, 2023 · 2 comments · Fixed by #4099
Closed

vue-demi does not provide an export named 'Vue' #4096

kingyue737 opened this issue Dec 13, 2023 · 2 comments · Fixed by #4099

Comments

@kingyue737
Copy link
Contributor

kingyue737 commented Dec 13, 2023

Describe the bug

在Vue 3.3.11中引入@antv/x6-vue-shape会报错,原因是import了已经不存在的Vue

Error: vue-demi does not provide an export named 'Vue'

import { defineComponent, h, reactive, isVue3, Vue } from 'vue-demi'

image

应该直接从vue-demi中importmarkRaw,Fragment

Your Example Website or App

https://stackblitz.com/edit/nuxt-starter-dgz4px

Steps to Reproduce the Bug or Issue

upgrade vue3 and vue-demi to the latest and import @antv/x5-vue-shape

Expected behavior

不报错

Screenshots or Videos

No response

Platform

  • OS: Windows, Linux
  • Browser: Edge
  • Version: 2.1.1

Additional context

No response

@BluesYoung-web
Copy link

请问这个修改什么时候发布?

@x6-bot
Copy link
Contributor

x6-bot bot commented Jan 25, 2025

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jan 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants