Просмотр исходного кода

refactor: rename apiApp.ts -> apiCreateApp.ts

Evan You 6 лет назад
Родитель
Сommit
c9b9ae3941

+ 0 - 0
packages/runtime-core/src/apiApp.ts → packages/runtime-core/src/apiCreateApp.ts


+ 1 - 1
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 {

+ 1 - 1
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,

+ 1 - 1
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,