jonathanpmartins / v-money3

Vue3 currency input/directive mask
MIT License
103 stars 27 forks source link

Compiling error (createElementBlock) with Vue versions lower than 3.2.0 #44

Closed renatoberaldo closed 3 years ago

renatoberaldo commented 3 years ago

Hi Jonathan ... I got that error when I try to run dev.

> node_modules/v-money3/dist/v-money3.es.js:1:124: error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "createElementBlock" 1 │ ...withDirectives as r,openBlock as s,createElementBlock as a,mergeProps as l}from"vue";co... v-money3-error

Could you help me??

Thanks bro!

jonathanpmartins commented 3 years ago

I need a little more help to repeat the problem here in my development environment. Perhaps a step by step description of your workflow...

Can you create a codesandbox.io with this problem example?

What is the version that you are using?

renatoberaldo commented 3 years ago

Oops... I saw you are from Brazil... great!

Can I share the github project with you?

Thanks in advance, Renato

jonathanpmartins commented 3 years ago

Yes you can! Send me a link and the steps to get to the error. We can speak portuguese there....

renatoberaldo commented 3 years ago

Ok perfect.. Thanks ;)

jonathanpmartins commented 3 years ago

The user was using vue and @vue/compiler-sfc version 3.0.5. For some unknown reason at the moment the library is generating this compiler error with vue versions lower than 3.2.0.

renatoberaldo commented 3 years ago

Perfect!! working now! Thanks you!!!