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

无法导入js #107

Open
newyhj opened this issue Mar 10, 2024 · 1 comment
Open

无法导入js #107

newyhj opened this issue Mar 10, 2024 · 1 comment

Comments

@newyhj
Copy link

newyhj commented Mar 10, 2024

系统采用选项式写法:
vue
如上图引入时,出现提示:
Uncaught TypeError: “vue”是一个裸说明符,但未重新进行任何映射。相对模块说明符必须以“./”、 “../”或 “/”开头。

请问该如何解决?

@Aaron-zon
Copy link
Contributor

Aaron-zon commented Mar 12, 2024

import './dist/js/vue/vue-draggable-plus.js'
const VueDraggable= VueDraggablePlus.VueDraggable

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

No branches or pull requests

2 participants