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

fix: Can't import named export 'computed' from EcmaScript #213

Closed
jbrainz opened this issue Feb 21, 2022 · 3 comments
Closed

fix: Can't import named export 'computed' from EcmaScript #213

jbrainz opened this issue Feb 21, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jbrainz
Copy link

jbrainz commented Feb 21, 2022

🐛 The bug
Can't import the named export 'computed' from non EcmaScript module (only default export is available)

i am using vue 3. but when i try to compile my project i get this error.
image

@jbrainz jbrainz added the bug Something isn't working label Feb 21, 2022
@jbrainz jbrainz changed the title fix: in ./node_modules/vue-sanity/lib/index.mjs fix: Can't import named export 'computed' from EcmaScript Feb 21, 2022
@danielroe
Copy link
Owner

Are you using Nuxt 3?

@jbrainz
Copy link
Author

jbrainz commented Feb 22, 2022

No

@danielroe
Copy link
Owner

This originates from the vue-demi import, and should be resolved in your bundler config: see vueuse/vueuse#718 (comment) and vueuse/vue-demi#63.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants