2024-07-08
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
Adjust the global API from Vue.xxx to the instance (app).
Vue2 Global API (Vue) | Vue3 Instance API (app) |
---|---|
Vue.config.xxx | app.config.xxx |
Vue.config.productTip | Remove |
Vue.component | app.component |
Vue.directive | app.directive |
Vue.mixin | app.mixin |
Vue.use | app.use |
Vue.prototype | app.config.globalProperties |
The data option should be declared as a function.
Transition class name changed.
Removed keyCode as a modifier for v-on, and also no longer supports config.keyCodes.
Remove the v-on.native modifier.
Remove a filter.