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

Function validateDirectiveName

packages/runtime-core/src/directives.ts:118–122  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

116>
117
118export function validateDirectiveName(name: string): void {
119 if (isBuiltInDirective(name)) {
120 warn('Do not use built-in directive ids as custom directive id: ' + name)
121 }
122}
123
124// Directive, value, argument, modifiers
125export type DirectiveArguments = Array<

Callers 2

directiveFunction · 0.90
setupStatefulComponentFunction · 0.90

Calls 1

warnFunction · 0.90

Tested by

no test coverage detected