Open interseba5 opened 1 month ago
I have done some further investigation and i have found out that the error happens only when i set
"transpileDependencies": [
"vuetify", "@koumoul/vjsf"
]
as said in the getting started guide. If i leave only
"transpileDependencies": [
"vuetify"
]
the error does not happen
It looks like you are using a build tool that expects to read a ESM module but encounters a Commonjs module. Vjsf 2 is commonjs while vjsf 3 is ESM.
You probably need to indicate to your build that this is a commonjs module. For example with vite this can be done using optimizeDeps.include.
You say that without the transpileDependencies options there is not this error, but there is another one ?
Hi, i have just installed vjsf 2.23.3 (because i have vue 2) and i have created a component with v-jsf. When i tried to open it i get this errore on the chrome console:
I have installed vjsf with npm with this command: npm install @koumoul/vjsf@2.23.3 I use VJsf like this:
What i am doing wrong?