Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate a vue.js 2 application to the vue-compat build of vue 3.0 #1

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

dwgray
Copy link
Owner

@dwgray dwgray commented Feb 21, 2023

The master branch represents a vue 2.0 project create via the vue cli with typescript enabled.
The vue-compat branch is the minimal set of changes described in the migration build guide to get the application to build.
While this builds clean and appears to be using the migration build - e.g. I get a warning like this:

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

it doesn't run. I'm getting:

vue.runtime.esm-bundler.js?fe26:1595 
        
       [Vue warn]: Component is missing template or render function. 
  at <App>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant