[Vuejs]-Uncaught SyntaxError: The requested module '/@modules/vue.js' does not provide an export named 'default'

5👍

I had the same problem when I made the migration to vuejs 3.

This: import Vue from 'vue'; has to be changed to:

import { createApp } from 'vue'

const app = createApp({})

Take a look to the guide:
https://v3-migration.vuejs.org/breaking-changes/global-api.html#a-new-global-api-createapp

Leave a comment