Vue 3’s migration build lets you upgrade incrementally. Run Vue 2 code with Vue 3 runtime.
Install Migration Build
npm install vue@3 @vue/compatConfig
// vue.config.js
module.exports = {
chainWebpack: config => {
config.resolve.alias.set('vue', '@vue/compat')
}
}Process
- Install compat build
- Fix deprecation warnings
- Convert filters to methods
- Switch to Vue 3 proper
Discover more from C4: Container, Code, Cloud & Context
Subscribe to get the latest posts sent to your email.