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

Vue 2 package doesn't work #319

Open
jonadeline opened this issue Jul 3, 2023 · 1 comment
Open

Vue 2 package doesn't work #319

jonadeline opened this issue Jul 3, 2023 · 1 comment
Labels

Comments

@jonadeline
Copy link

jonadeline commented Jul 3, 2023

Hi,
I cannot make the iconoir vue package work in a Vue 2 project, I got many errors listed below when running the project
I did a simple sandbox here reproducing the issue.
Any help would be appreciated. Thank you in advance :)

 ERROR  Failed to compile with 9 errors                               5:27:18 AM

 error  in ./node_modules/@iconoir/vue/dist/esm/3dAddHole.mjs

"export 'createElementBlock' was not found in 'vue'

 error  in ./node_modules/@iconoir/vue/dist/esm/3dAddHole.mjs

"export 'createElementVNode' was not found in 'vue'
 ERROR  Failed to compile with 9 errors                               5:29:10 AM

 error  in ./node_modules/@iconoir/vue/dist/esm/3dAddHole.mjs

"export 'createElementBlock' was not found in 'vue'

 error  in ./node_modules/@iconoir/vue/dist/esm/3dAddHole.mjs

"export 'createElementVNode' was not found in 'vue'

 error  in ./node_modules/@iconoir/vue/dist/esm/3dBridge.mjs

"export 'createStaticVNode' was not found in 'vue'

 error  in ./node_modules/@iconoir/vue/dist/esm/3dAddHole.mjs

"export 'mergeProps' was not found in 'vue'

 error  in ./node_modules/@iconoir/vue/dist/esm/3dAddHole.mjs

"export 'openBlock' was not found in 'vue'

 error  in ./node_modules/@iconoir/vue/dist/IconoirProvider.vue_vue_type_script_setup_true_lang-500a4b50.mjs

"export 'renderSlot' was not found in 'vue'

 error  in ./node_modules/@iconoir/vue/dist/esm/3dAddHole.mjs

Can't import the named export 'defineComponent' from non EcmaScript module (only default export is available)

 error  in ./node_modules/@iconoir/vue/dist/esm/3dAddHole.mjs

Can't import the named export 'inject' from non EcmaScript module (only default export is available)

 error  in ./node_modules/@iconoir/vue/dist/IconoirProvider.vue_vue_type_script_setup_true_lang-500a4b50.mjs

Can't import the named export 'provide' from non EcmaScript module (only default export is available)

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@jonadeline jonadeline changed the title Vue2 implementation Vue 2 package doesn't work Jul 3, 2023
@sammarks
Copy link
Collaborator

sammarks commented Jul 3, 2023

vueuse/vue-demi#161 - This seems to be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants