Overview
As part of the Vue 2 to Vue 3 migration, we'd like to remove the Vue compact "migration build" from DST-hosted Media Wiki extensions. DST extensions include VueTest and CodexExample. Removing the migration build from these extensions switches the dependency to Vue 3 proper.
The compatConfig option can be used on components to opt-in to Vue 3 behavior. The global method configureCompat() will default the entire application to Vue 3 behavior. Both approaches take in the option { MODE: 3 }.
Resources
Acceptance Criteria
- Remove the Vue 3 migration build from VueTest, CodexExample (already completed), and the wrapper files in MW core for Codex.
- Uninstall NPM vue/compat from devDependencies
- Remove the Vue compat migration build code that tells the application or component to opt in to Vue 3 behavior
- Examples: compatConfig: { MODE: 3 } and Vue.configureCompat( { MODE: 3 } )