I'm trying to migrate big project, about 2000 components and I have a lot of packages that not relevant in Vue3, 'Element-UI' for instace.
After upgrade Vue to version 3.1.0-0 and add @vue/compat version 3.1.0-0 and @vue/compiler-sfc version 3.1.0-0, I fix all errors and trying to 'npm run dev', than I saw this error

In addition, I have update vue-loader to version 16.0.0 and changed main.js to this:

My package.json:

How can I solve this issue?
import Vue, {createApp} from 'Vue'change toimport { createApp } from 'vue'.