From be076173d059e52517b8e079d6948c22e49b9a2d Mon Sep 17 00:00:00 2001 From: ZhangJan Date: Sat, 25 Mar 2017 22:36:00 +0800 Subject: [PATCH] fix a typo (#5284) --- src/core/vdom/create-component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/vdom/create-component.js b/src/core/vdom/create-component.js index b68532d2..bec849bb 100644 --- a/src/core/vdom/create-component.js +++ b/src/core/vdom/create-component.js @@ -296,7 +296,7 @@ function extractProps (data: VNodeData, Ctor: Class, tag?: string): ? ) { tip( `Prop "${keyInLowerCase}" is passed to component ` + - `${formatComponentName(tag || Ctor)}, but the delared prop name is` + + `${formatComponentName(tag || Ctor)}, but the declared prop name is` + ` "${key}". ` + `Note that HTML attributes are case-insensitive and camelCased ` + `props need to use their kebab-case equivalents when using in-DOM ` +