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

Import error of UMD module - Transformation UI #500

Open
paulocheque opened this issue Mar 6, 2023 · 0 comments
Open

Import error of UMD module - Transformation UI #500

paulocheque opened this issue Mar 6, 2023 · 0 comments

Comments

@paulocheque
Copy link

Conflict with Vue 3:

https://www.filestack.com/docs/transformations/ui/web/

<script src="https://static.filestackapi.com/transforms-ui/2.x.x/transforms.umd.min.js"></script>
<link rel="stylesheet" href="https://static.filestackapi.com/transforms-ui/2.x.x/transforms.css" />

Expected Behavior

No JS errors

Current Behavior

vue-resize.esm.js:268 Uncaught TypeError: y.use is not a function
    at Object.<anonymous> (vue-resize.esm.js:268:13)
    at 252c (transforms.umd.min.js:1:14741)
    at n (bootstrap:19:22)
    at Object.<anonymous> (v-tooltip.esm.js:1:1)
    at Object.e37d (transforms.umd.min.js:65:299768)
    at n (bootstrap:19:22)
    at Module.fae3 (transforms.umd.min.js:95:64583)
    at n (bootstrap:19:22)
    at 0 (bootstrap:83:10)
    at transforms.umd.min.js:1:1194

Possible Solution

Let the code independent of the installed Vue, or add support for Vue 3 too.

Steps to Reproduce (for bugs)

Import the Vue3 library before importing filestack

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