MCPcopy
hub / github.com/vuejs/core / installAppCompatProperties

Function installAppCompatProperties

packages/runtime-core/src/compat/global.ts:332–350  ·  view source on GitHub ↗
(
  app: App,
  context: AppContext,
  render: RootRenderFunction<any>,
)

Source from the content-addressed store, hash-verified

330}
331
332export function installAppCompatProperties(
333 app: App,
334 context: AppContext,
335 render: RootRenderFunction<any>,
336): void {
337 installFilterMethod(app, context)
338 installLegacyOptionMergeStrats(app.config)
339
340 if (!singletonApp) {
341 // this is the call of creating the singleton itself so the rest is
342 // unnecessary
343 return
344 }
345
346 installCompatMount(app, context, render)
347 installLegacyAPIs(app)
348 applySingletonAppMutations(app)
349 if (__DEV__) installLegacyConfigWarnings(app.config)
350}
351
352function installFilterMethod(app: App, context: AppContext) {
353 context.filters = {}

Callers 1

createAppAPIFunction · 0.90

Calls 6

installFilterMethodFunction · 0.85
installCompatMountFunction · 0.85
installLegacyAPIsFunction · 0.85

Tested by

no test coverage detected