Deep Dive into Vue’s mergeOptions: Normalizing Props, Inject, and Directives
This article explains how Vue’s mergeOptions function merges constructor and instance options, detailing the normalization of props, inject, and directives, and how extends and mixins are recursively combined to produce the final component configuration.
