如题,Vue 项目编译无法通过,提示如下错误。
[Vue warn]: Error in nextTick: “InvalidCharacterError: Failed to execute ‘setAttribute’ on ‘Element’: ‘,’ is not a valid attribute name.”
最后发现是 html 代码中多了一个英文逗号 “,”。
解决办法,去掉逗号编译就通过了。
如题,Vue 项目编译无法通过,提示如下错误。
[Vue warn]: Error in nextTick: “InvalidCharacterError: Failed to execute ‘setAttribute’ on ‘Element’: ‘,’ is not a valid attribute name.”
最后发现是 html 代码中多了一个英文逗号 “,”。
解决办法,去掉逗号编译就通过了。