feat(runtime-core): support config.optionMergeStrategies

Note the behavior is different from Vue 2:
- merge strategies no longer apply to built-in options.
- the default value is now an empty object and no longer exposes merge
  strategies for built-in options.
This commit is contained in:
Evan You
2020-03-24 11:59:00 -04:00
parent 123738727a
commit 528621ba41
5 changed files with 82 additions and 11 deletions

View File

@@ -163,7 +163,8 @@ export {
AppConfig,
AppContext,
Plugin,
CreateAppFunction
CreateAppFunction,
OptionMergeFunction
} from './apiCreateApp'
export {
VNode,