[Vuejs]-Vue 3 Migration Build with Typescript throwing export 'default' (imported as 'Vue') was not found in 'vue' warning

0👍

It turns out that I was defining aliases in configureWebpack, which appears to be incompatible with chainWebpack. Moving all of my alias definitions to the chainWebpack section fixed the issue and now I’m seeing a warning for Vue.extend rather than an error.

vue.runtime.esm-bundler.js:1598 
        
       [Vue warn]: (deprecation GLOBAL_EXTEND) Vue.extend() has been removed in Vue 3. Use defineComponent() instead.
  Details: https://vuejs.org/api/general.html#definecomponent

Leave a comment