Merge strategy: vue.config.optionMergeStrategies

Life cycle hooks: merged into arrays, executed in sequence

 

watch: merged into an array, executed in sequence

 

assets (components, filters, directives): merged into a prototype chain structure

 

Others are basically the merging of data, data is a function, and the results after execution need to be merged

 

https://segmentfault.com/a/1190000007087912

 

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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326391326&siteId=291194637