-
Notifications
You must be signed in to change notification settings - Fork 434
error of default is not a function with systemjs-importmap #357
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
Comments
related: systemjs/systemjs#1989 |
This is because the way UMD build exposes the decorator is different with ESModule. Using ESM build should fix the problem. |
@ktsn Thank you for new vue-class-component version! Waiting for vue-property-decorator version update (with esm support). |
/cc @kaorun343 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
systemjs-importmap.json:
Adding vue-class-component decorator to my Vue repo caused an error
TypeError: vue_class_component_1.default is not a function
Way to reproduce:
The text was updated successfully, but these errors were encountered: