LibraryActive

Vue 3 Migration Build

Vue 3 Migration Build: Vue 3 Migration Guide ​ Vue 2 support will end on December 31st, 2023.

Open source page ↗

Field note

What it does

Migration Build ​ Overview ​ @vue/compat (aka "the migration build") is a build of Vue 3 that provides configurable Vue 2 compatible behavior. The migration build runs in Vue 2 mode by default - most public APIs behave exactly like Vue 2, with only a few exceptions. Usage of features that have changed or been deprecated in Vue 3 will emit runtime warnings. A feature's compatibility can also be enabled/disabled on a per-component basis. Intended Use Cases ​ Upgrading a Vue 2 application to Vue 3 (with limitations ) Migrating a library to support Vue 3 For experienced Vue 2 developers who have not tried Vue 3 yet, the migration build can be used in place of Vue 3 to help learn the difference between versions. Known Limitations ​ While we've tried hard to make the migration build mimic Vue 2 behavior as much as possible, there are some limitations that may prevent your app from being eligible for upgrading: Dependencies that rely on Vue 2 internal APIs or undocumented behavior. The most common case is usage of private properties on VNodes . If your project relies on component libraries like Vuetify , Quasar or ElementUI , it is best to wait for their Vue 3 compatible versions.

Capabilities

Available capabilities

Tags

Tags

No tags filed yet.

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

Compat Configuration ​

Compiler-specific Config ​

Expectations ​

Global Config ​

Installation ​

Intended Use Cases ​

Known Limitations ​

Migration Build ​

Overview ​

Per-Component Config ​

Preparations ​

Upgrade Workflow ​