We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ecdf6d5 + aaa0b06 commit 98836bfCopy full SHA for 98836bf
src/utils/checkTemplate.js
@@ -49,7 +49,7 @@ export default function($options, checkVariableAvailability) {
49
const templateVars = [];
50
if (templateAst.type === ELEMENT) {
51
templateAst.props.forEach((attr) => {
52
- if (!/^[a-z,-,:]+$/g.test(attr.name)) {
+ if (!/^[a-z-:]+$/g.test(attr.name)) {
53
throw new VueLiveParseTemplateAttrError(
54
"[VueLive] Invalid attribute name: " + attr.name,
55
attr.loc
0 commit comments