合并策略:vue.config.optionMergeStrategies

生命周期的钩子:合并为数组,执行有先后顺序

 

watch:合并为数组,执行有先后顺序

 

assets(components、filters、directives):合并为原型链式结构

 

其他,基本上就是数据的合并,data为function,需要合并执行后的结果

 

https://segmentfault.com/a/1190000007087912

 

https://www.cnblogs.com/mlFronter/p/7718600.html

猜你喜欢

转载自luqingxuan.iteye.com/blog/2400100