From: Evan You Date: Sun, 22 Dec 2019 16:27:40 +0000 (-0500) Subject: refactor: rename apiApp.ts -> apiCreateApp.ts X-Git-Tag: v3.0.0-alpha.1~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9b9ae394183758a12e4a05be42d1927d9af7b56;p=thirdparty%2Fvuejs%2Fcore.git refactor: rename apiApp.ts -> apiCreateApp.ts --- diff --git a/packages/runtime-core/src/apiApp.ts b/packages/runtime-core/src/apiCreateApp.ts similarity index 100% rename from packages/runtime-core/src/apiApp.ts rename to packages/runtime-core/src/apiCreateApp.ts diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index 0ee06d6b84..50b8498a4d 100644 --- a/packages/runtime-core/src/component.ts +++ b/packages/runtime-core/src/component.ts @@ -13,7 +13,7 @@ import { callWithErrorHandling, callWithAsyncErrorHandling } from './errorHandling' -import { AppContext, createAppContext, AppConfig } from './apiApp' +import { AppContext, createAppContext, AppConfig } from './apiCreateApp' import { Directive, validateDirectiveName } from './directives' import { applyOptions, ComponentOptions } from './apiOptions' import { diff --git a/packages/runtime-core/src/index.ts b/packages/runtime-core/src/index.ts index 669399c298..181e53f8dd 100644 --- a/packages/runtime-core/src/index.ts +++ b/packages/runtime-core/src/index.ts @@ -99,7 +99,7 @@ export { registerRuntimeCompiler } from './component' // Types ----------------------------------------------------------------------- -export { App, AppConfig, AppContext, Plugin } from './apiApp' +export { App, AppConfig, AppContext, Plugin } from './apiCreateApp' export { VNode, VNodeTypes, VNodeProps } from './vnode' export { Component, diff --git a/packages/runtime-core/src/renderer.ts b/packages/runtime-core/src/renderer.ts index 013b082ec7..c651247ccd 100644 --- a/packages/runtime-core/src/renderer.ts +++ b/packages/runtime-core/src/renderer.ts @@ -45,7 +45,7 @@ import { ShapeFlags } from './shapeFlags' import { pushWarningContext, popWarningContext, warn } from './warning' import { invokeDirectiveHook } from './directives' import { ComponentPublicInstance } from './componentProxy' -import { App, createAppAPI } from './apiApp' +import { App, createAppAPI } from './apiCreateApp' import { SuspenseBoundary, queueEffectWithSuspense,