We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
systemjs-importmap.json:
{ "imports": { "vue": "https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js", "vue-class-component": "https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-class-component.min.js" } }
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:
related: systemjs/systemjs#1989
Sorry, something went wrong.
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
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
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: