is
- string | ComponentDefinition | ComponentConstructorinline-template
- boolean渲染一个“元组件”为动态组件。依 is
的值,来决定哪个组件被渲染。
Vue.config.optionMergeStrategies._my_option = function (parent, child, vm) { return child + 1 } const Profile = Vue.extend({ _my_option: 1 }) // Profile.options._my_option = 2