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 · 1 comment · Fixed by #4099
Closed

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

kingyue737 opened this issue Dec 13, 2023 · 1 comment · 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

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

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 a pull request may close this issue.

2 participants