1👍
✅
It simply doesn’t work like that anymore in Vue 3. import Vue
and new Vue()
have been replaced by:
import { createApp } from 'vue';
const app = createApp(App);
Vue 3 isn’t a drop-in replacement for Vue 2; there’s a number of breaking changes you should probably read up on.
Source:stackexchange.com