refactor: split componentRenderUtils
This commit is contained in:
@@ -14,10 +14,10 @@ return applyDirectives(h(comp), [
|
||||
import { VNode, cloneVNode } from './vnode'
|
||||
import { extend, isArray, isFunction } from '@vue/shared'
|
||||
import { warn } from './warning'
|
||||
import { ComponentInstance, currentRenderingInstance } from './component'
|
||||
import { ComponentInstance } from './component'
|
||||
import { currentRenderingInstance } from './componentRenderUtils'
|
||||
import { callWithAsyncErrorHandling, ErrorTypes } from './errorHandling'
|
||||
import { HostNode } from './createRenderer'
|
||||
import { resolveAsset } from './componentOptions'
|
||||
import { ComponentRenderProxy } from './componentProxy'
|
||||
|
||||
export interface DirectiveBinding {
|
||||
@@ -133,7 +133,3 @@ export function invokeDirectiveHook(
|
||||
callWithAsyncErrorHandling(hook, instance, ErrorTypes.DIRECTIVE_HOOK, args)
|
||||
}
|
||||
}
|
||||
|
||||
export function resolveDirective(name: string): Directive | undefined {
|
||||
return resolveAsset('directives', name) as any
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user