diff --git a/src/platforms/web/compiler/modules/style.js b/src/platforms/web/compiler/modules/style.js index d0ceac49..425c5054 100644 --- a/src/platforms/web/compiler/modules/style.js +++ b/src/platforms/web/compiler/modules/style.js @@ -17,10 +17,10 @@ function transformNode (el: ASTElement, options: CompilerOptions) { const expression = parseText(staticStyle, options.delimiters) if (expression) { warn( - `style="${staticStyle}": ` + - 'Interpolation inside attributes has been removed. ' + - 'Use v-bind or the colon shorthand instead. For example, ' + - 'instead of
, use
.' + `style="${staticStyle}": ` + + 'Interpolation inside attributes has been removed. ' + + 'Use v-bind or the colon shorthand instead. For example, ' + + 'instead of
, use
.' ) } }