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

This package can not be imported. #173

Open
timothymarois opened this issue Nov 29, 2020 · 0 comments
Open

This package can not be imported. #173

timothymarois opened this issue Nov 29, 2020 · 0 comments

Comments

@timothymarois
Copy link

timothymarois commented Nov 29, 2020

Using what the examples provide: (and using latest version)

import { Container, Draggable } from "vue-smooth-dnd";

The build works, the app doesn't and throws console errors.
If I try to import this within my main app.js I get Uncaught TypeError: Illegal invocation
Or if I import this within any vue template [Vue warn]: Failed to resolve async component:
and a bunch of this:

return Promise.all(/*! import() */[__webpack_require__.e(21), __webpack_require__.e(10)]).then(__webpack_require__.bind(null, /*! ./compon

If I remove the import, the app works perfectly fine. Obviously, I dont know whats in the "Container, Draggable" to cause such issues.

I'm not even using the components, this is only just importing them, no matter what, it fails to import regardless.

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

1 participant