We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91e4d47 commit 0c09c5fCopy full SHA for 0c09c5f
src/compiler/compile-props.js
@@ -8,7 +8,7 @@ var propBindingModes = require('../config')._propBindingModes
8
var identRE = require('../parsers/path').identRE
9
var dataAttrRE = /^data-/
10
var settablePathRE = /^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/
11
-var literalValueRE = /^(true|false)$|^\d.*/
+var literalValueRE = /^\s?(true|false|[\d\.]+|'[^']*'|"[^"]*")\s?$/
12
13
/**
14
* Compile props on a root element and return
0 commit comments