v-model is working if the web component is using value prop and trigger the 'input' event
What is actually happening?
compilation error :
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: compiler.parseComponent is not a function
at parse (/home/Benoit.Vasseur/workspace/vue3-test-cli-and-wc/node_modules/@vue/component-compiler-utils/dist/parse.js:15:23)
at Object.module.exports (/home/Benoit.Vasseur/workspace/vue3-test-cli-and-wc/node_modules/vue-loader/lib/index.js:67:22)
Version
4.5.0
Reproduction link
https://github.com/Benoit-Vasseur/vue3-test-cli-and-wc
Environment info
Steps to reproduce
npm run serve
What is expected?
What is actually happening?
I also tried the same test with Vite, it is not working also but the error is not the same, see : https://github.com/vuejs/vue-next/issues/1699
npx vue inspect
without any modification of the confnpx vue inspect
with the vue.config.js (compilerOption)