From 0ec620a42571e4adcee61f7f2713e8fc30cd6e72 Mon Sep 17 00:00:00 2001 From: Bryce Johnson Date: Tue, 20 Dec 2016 14:18:33 +0100 Subject: [PATCH] Specify that tags with side-effects will not be parsed. --- src/compiler/parser/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/parser/index.js b/src/compiler/parser/index.js index 81e0e2e92ba..57a314fff10 100644 --- a/src/compiler/parser/index.js +++ b/src/compiler/parser/index.js @@ -91,7 +91,7 @@ export function parse ( process.env.NODE_ENV !== 'production' && warn( 'Templates should only be responsible for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + - `<${tag}>.` + `<${tag}>` + ', as they will not be parsed.' ) }