Compare Vue.js versions and see exactly what changes, what requires action, and what you can start using.
→
3Changes
0Breaking
0Actions
1Features
1Migration tools
Analyze your project
Check your package.json
UpgradePath detects relevant tools and selects them automatically.
Local only
Analyzed locally in your browser. Nothing is uploaded.
Project setup
What does your project use?
Select the tools in your project to include relevant dependency updates in this guide.
New Features
onServerPrefetch added to the Composition API
featurelow impact
Vue 3.1 adds onServerPrefetch(), allowing Composition API components to register asynchronous work that should be resolved during server-side rendering.
Vue 3.1 introduced the @vue/compat migration build, which provides Vue 2 compatible behavior with runtime warnings for APIs and behaviors that need to be migrated.
Migration
Projects migrating from Vue 2 can temporarily alias vue to @vue/compat and use compatibility warnings to migrate incrementally. The compatibility build is intended as a migration aid and should be removed after migration is complete.